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)
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

Simple merge