]> bbs.cooldavid.org Git - net-next-2.6.git/commit - kernel/sched_fair.c
sched: Assume *balance is valid
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 24 Dec 2009 13:18:21 +0000 (14:18 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jan 2010 12:40:15 +0000 (13:40 +0100)
commit8f190fb3f7a405682666d3723f6ec370b5afe4da
tree4494079705c3c18e5e4f48c5a77877677b244d5d
parentf492e12ef050e02bf0185b6b57874992591b9be1
sched: Assume *balance is valid

Since all load_balance() callers will have !NULL balance parameters we
can now assume so and remove a few checks.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c