diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-11-04 16:17:05 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-04 10:23:18 +0100 |
commit | 0a0db8f5c9d4bbb9bbfcc2b6cb6bce2d0ef4d73d (patch) | |
tree | 22a50ee7f1c5a4c6ae4a13c30b02c9faa52e0aa4 /kernel/exec_domain.c | |
parent | eefd796a8e831408ce17e633d73d70430748c47a (diff) | |
download | lwn-0a0db8f5c9d4bbb9bbfcc2b6cb6bce2d0ef4d73d.tar.gz lwn-0a0db8f5c9d4bbb9bbfcc2b6cb6bce2d0ef4d73d.zip |
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>
Diffstat (limited to 'kernel/exec_domain.c')
0 files changed, 0 insertions, 0 deletions