diff options
| author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2007-10-19 02:41:09 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:56 -0400 |
| commit | a24efe62dd165be7d03431cf936ae17d345fed69 (patch) | |
| tree | d6e89de347ac0e3b2fe478690cc1f58281022bc3 | |
| parent | 26e3d11dd32da3768d64639899ccdb8a2649116f (diff) | |
kernel/fork.c: remove unneeded variable initialization in copy_process()
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>
| -rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 9d40367dd5db..43958d41e65a 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
| @@ -978,7 +978,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
| 978 | struct pid *pid) | 978 | struct pid *pid) |
| 979 | { | 979 | { |
| 980 | int retval; | 980 | int retval; |
| 981 | struct task_struct *p = NULL; | 981 | struct task_struct *p; |
| 982 | int cgroup_callbacks_done = 0; | 982 | int cgroup_callbacks_done = 0; |
| 983 | 983 | ||
| 984 | if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) | 984 | if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS)) |
