sched: add statics, don't return void expressions
commit983ed7a66bcec9dc307d89dc7af47cdf209e56af
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 25 Apr 2008 01:17:55 +0000 (24 18:17 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 May 2008 21:56:17 +0000 (5 23:56 +0200)
treea5fc14c7fe993b795198bbeee2919ad695735e81
parentd478c2cfaa2476f8b6876f9eb4d8fddcfa986479
sched: add statics, don't return void expressions

Noticed by sparse:
kernel/sched.c:760:20: warning: symbol 'sched_feat_names' was not declared. Should it be static?
kernel/sched.c:767:5: warning: symbol 'sched_feat_open' was not declared. Should it be static?
kernel/sched_fair.c:845:3: warning: returning void-valued expression
kernel/sched.c:4386:3: warning: returning void-valued expression

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_fair.c