projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26e3d11
)
kernel/fork.c: remove unneeded variable initialization in copy_process()
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Fri, 19 Oct 2007 06:41:09 +0000
(23:41 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:56 +0000
(11:53 -0700)
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>
kernel/fork.c
patch
|
blob
|
history
diff --git
a/kernel/fork.c
b/kernel/fork.c
index 9d40367dd5db5a727649af7b0d2aebaff7c4749f..43958d41e65abb401fdefc06eec3fe4fb1f012c9 100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-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))