Skip to content

Commit

Permalink
kernel/fork.c: remove unneeded variable initialization in copy_process()
Browse files Browse the repository at this point in the history
This initialization of is not needed so just remove it.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Mariusz Kozlowski authored and Linus Torvalds committed Oct 19, 2007
1 parent 26e3d11 commit a24efe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a24efe6

Please sign in to comment.