Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a24efe62 authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Linus Torvalds
Browse files

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



This initialization of is not needed so just remove it.

Signed-off-by: default avatarMariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 26e3d11d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))