sched debug: remove NULL checking in print_cfs/rt_rq()
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 4 Nov 2008 08:17:05 +0000 (16:17 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 4 Nov 2008 09:23:18 +0000 (10:23 +0100)
commit0a0db8f5c9d4bbb9bbfcc2b6cb6bce2d0ef4d73d
tree22a50ee7f1c5a4c6ae4a13c30b02c9faa52e0aa4
parenteefd796a8e831408ce17e633d73d70430748c47a
sched debug: remove NULL checking in print_cfs/rt_rq()

Impact: cleanup

cfs->tg is initialized in init_tg_cfs_entry() with tg != NULL, and
will never be invalidated to NULL. And the underlying cgroup of a
valid task_group is always valid.

Same for rt->tg.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_debug.c