diff options
author | Jesper Juhl <juhl@dif.dk> | 2005-07-27 14:46:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:20 -0400 |
commit | 77933d7276ee8fa0e2947641941a6f7a100a327b (patch) | |
tree | e3a42724642410f5257c794a71b34642092eedd5 /drivers/s390/cio/qdio.c | |
parent | 03e259a9cdbd0583e71468293aaa1ccadbdaeff1 (diff) |
[PATCH] clean up inline static vs static inline
`gcc -W' likes to complain if the static keyword is not at the beginning of
the declaration. This patch fixes all remaining occurrences of "inline
static" up with "static inline" in the entire kernel tree (140 occurrences in
47 files).
While making this change I came across a few lines with trailing whitespace
that I also fixed up, I have also added or removed a blank line or two here
and there, but there are no functional changes in the patch.
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/cio/qdio.c')
-rw-r--r-- | drivers/s390/cio/qdio.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/s390/cio/qdio.c b/drivers/s390/cio/qdio.c index 82194c4eadfb..d36258d6665f 100644 --- a/drivers/s390/cio/qdio.c +++ b/drivers/s390/cio/qdio.c | |||
@@ -432,7 +432,7 @@ tiqdio_clear_global_summary(void) | |||
432 | 432 | ||
433 | /************************* OUTBOUND ROUTINES *******************************/ | 433 | /************************* OUTBOUND ROUTINES *******************************/ |
434 | 434 | ||
435 | inline static int | 435 | static inline int |
436 | qdio_get_outbound_buffer_frontier(struct qdio_q *q) | 436 | qdio_get_outbound_buffer_frontier(struct qdio_q *q) |
437 | { | 437 | { |
438 | int f,f_mod_no; | 438 | int f,f_mod_no; |
@@ -510,7 +510,7 @@ out: | |||
510 | } | 510 | } |
511 | 511 | ||
512 | /* all buffers are processed */ | 512 | /* all buffers are processed */ |
513 | inline static int | 513 | static inline int |
514 | qdio_is_outbound_q_done(struct qdio_q *q) | 514 | qdio_is_outbound_q_done(struct qdio_q *q) |
515 | { | 515 | { |
516 | int no_used; | 516 | int no_used; |
@@ -532,7 +532,7 @@ qdio_is_outbound_q_done(struct qdio_q *q) | |||
532 | return (no_used==0); | 532 | return (no_used==0); |
533 | } | 533 | } |
534 | 534 | ||
535 | inline static int | 535 | static inline int |
536 | qdio_has_outbound_q_moved(struct qdio_q *q) | 536 | qdio_has_outbound_q_moved(struct qdio_q *q) |
537 | { | 537 | { |
538 | int i; | 538 | int i; |
@@ -552,7 +552,7 @@ qdio_has_outbound_q_moved(struct qdio_q *q) | |||
552 | } | 552 | } |
553 | } | 553 | } |
554 | 554 | ||
555 | inline static void | 555 | static inline void |
556 | qdio_kick_outbound_q(struct qdio_q *q) | 556 | qdio_kick_outbound_q(struct qdio_q *q) |
557 | { | 557 | { |
558 | int result; | 558 | int result; |
@@ -641,7 +641,7 @@ qdio_kick_outbound_q(struct qdio_q *q) | |||
641 | } | 641 | } |
642 | } | 642 | } |
643 | 643 | ||
644 | inline static void | 644 | static inline void |
645 | qdio_kick_outbound_handler(struct qdio_q *q) | 645 | qdio_kick_outbound_handler(struct qdio_q *q) |
646 | { | 646 | { |
647 | int start, end, real_end, count; | 647 | int start, end, real_end, count; |
@@ -740,7 +740,7 @@ qdio_outbound_processing(struct qdio_q *q) | |||
740 | /************************* INBOUND ROUTINES *******************************/ | 740 | /************************* INBOUND ROUTINES *******************************/ |
741 | 741 | ||
742 | 742 | ||
743 | inline static int | 743 | static inline int |
744 | qdio_get_inbound_buffer_frontier(struct qdio_q *q) | 744 | qdio_get_inbound_buffer_frontier(struct qdio_q *q) |
745 | { | 745 | { |
746 | int f,f_mod_no; | 746 | int f,f_mod_no; |
@@ -865,7 +865,7 @@ out: | |||
865 | return q->first_to_check; | 865 | return q->first_to_check; |
866 | } | 866 | } |
867 | 867 | ||
868 | inline static int | 868 | static inline int |
869 | qdio_has_inbound_q_moved(struct qdio_q *q) | 869 | qdio_has_inbound_q_moved(struct qdio_q *q) |
870 | { | 870 | { |
871 | int i; | 871 | int i; |
@@ -898,7 +898,7 @@ qdio_has_inbound_q_moved(struct qdio_q *q) | |||
898 | } | 898 | } |
899 | 899 | ||
900 | /* means, no more buffers to be filled */ | 900 | /* means, no more buffers to be filled */ |
901 | inline static int | 901 | static inline int |
902 | tiqdio_is_inbound_q_done(struct qdio_q *q) | 902 | tiqdio_is_inbound_q_done(struct qdio_q *q) |
903 | { | 903 | { |
904 | int no_used; | 904 | int no_used; |
@@ -951,7 +951,7 @@ tiqdio_is_inbound_q_done(struct qdio_q *q) | |||
951 | return 0; | 951 | return 0; |
952 | } | 952 | } |
953 | 953 | ||
954 | inline static int | 954 | static inline int |
955 | qdio_is_inbound_q_done(struct qdio_q *q) | 955 | qdio_is_inbound_q_done(struct qdio_q *q) |
956 | { | 956 | { |
957 | int no_used; | 957 | int no_used; |
@@ -1010,7 +1010,7 @@ qdio_is_inbound_q_done(struct qdio_q *q) | |||
1010 | } | 1010 | } |
1011 | } | 1011 | } |
1012 | 1012 | ||
1013 | inline static void | 1013 | static inline void |
1014 | qdio_kick_inbound_handler(struct qdio_q *q) | 1014 | qdio_kick_inbound_handler(struct qdio_q *q) |
1015 | { | 1015 | { |
1016 | int count, start, end, real_end, i; | 1016 | int count, start, end, real_end, i; |