diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-01-16 18:09:38 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-01-19 09:43:08 -0500 |
commit | 42b16b3fbb5ee4555f5dee6220f3ccaa6e1ebe47 (patch) | |
tree | 966c1266afca5dd0e59cace37f7cd49577bdf0e2 /kernel | |
parent | f0940cee222790e6e995a23f25c4ffb23f939a24 (diff) |
Kill off warning: ‘inline’ is not at beginning of declaration
Fix a bunch of
warning: ‘inline’ is not at beginning of declaration
messages when building a 'make allyesconfig' kernel with -Wextra.
These warnings are trivial to kill, yet rather annoying when building with
-Wextra.
The more we can cut down on pointless crap like this the better (IMHO).
A previous patch to do this for a 'allnoconfig' build has already been
merged. This just takes the cleanup a little further.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/ring_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index bd1c35a4fbcc..6ee56b4ad136 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c | |||
@@ -669,7 +669,7 @@ static struct list_head *rb_list_head(struct list_head *list) | |||
669 | * the reader page). But if the next page is a header page, | 669 | * the reader page). But if the next page is a header page, |
670 | * its flags will be non zero. | 670 | * its flags will be non zero. |
671 | */ | 671 | */ |
672 | static int inline | 672 | static inline int |
673 | rb_is_head_page(struct ring_buffer_per_cpu *cpu_buffer, | 673 | rb_is_head_page(struct ring_buffer_per_cpu *cpu_buffer, |
674 | struct buffer_page *page, struct list_head *list) | 674 | struct buffer_page *page, struct list_head *list) |
675 | { | 675 | { |