mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
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>
This commit is contained in:
parent
f0940cee22
commit
42b16b3fbb
10 changed files with 13 additions and 13 deletions
|
@ -669,7 +669,7 @@ static struct list_head *rb_list_head(struct list_head *list)
|
|||
* the reader page). But if the next page is a header page,
|
||||
* its flags will be non zero.
|
||||
*/
|
||||
static int inline
|
||||
static inline int
|
||||
rb_is_head_page(struct ring_buffer_per_cpu *cpu_buffer,
|
||||
struct buffer_page *page, struct list_head *list)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue