sched: fix warning
authorVegard Nossum <vegard.nossum@gmail.com>
Fri, 27 Jun 2008 19:35:50 +0000 (21:35 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 30 Jun 2008 06:37:32 +0000 (08:37 +0200)
commit30432094a7f506ad24997a3ba6aed913ab61c01d
treebbf1a5f354a5e2a492f83453d5a986bf1a190c7c
parent34e83e850f5e5ee2a18cd77a5d70d31972a632e6
sched: fix warning

This patch fixes the following warning:

kernel/sched.c:1667: warning: 'cfs_rq_set_shares' defined but not used

This seems the correct way to fix this; cfs_rq_set_shares() is only used
in a single place, which is also inside #ifdef CONFIG_FAIR_GROUP_SCHED.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c