diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-10-29 05:03:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-29 06:53:26 -0400 |
commit | eab172294d5e24464f332dd8e94a57a9819c81c4 (patch) | |
tree | f8f577d52aa83b76cd7f044a8327f236bb35f835 /arch/cris/arch-v10/kernel/process.c | |
parent | e946217e4fdaa67681bbabfa8e6b18641921f750 (diff) |
sched: cleanup for alloc_rt/fair_sched_group()
Impact: cleanup
Remove checking parent == NULL. It won't be NULLL, because we dynamically
create sub task_group only, and sub task_group always has its parent.
(root task_group is statically defined)
Also replace kmalloc_node(GFP_ZERO) with kzalloc_node().
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/cris/arch-v10/kernel/process.c')
0 files changed, 0 insertions, 0 deletions