提交 a24efe62 编写于 作者: M Mariusz Kozlowski 提交者: Linus Torvalds

kernel/fork.c: remove unneeded variable initialization in copy_process()

This initialization of is not needed so just remove it.
Signed-off-by: NMariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 26e3d11d
......@@ -978,7 +978,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
struct pid *pid)
{
int retval;
struct task_struct *p = NULL;
struct task_struct *p;
int cgroup_callbacks_done = 0;
if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册