mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
26e3d11dd3
commit
a24efe62dd
1 changed files with 1 additions and 1 deletions
|
@ -978,7 +978,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
|
||||||
struct pid *pid)
|
struct pid *pid)
|
||||||
{
|
{
|
||||||
int retval;
|
int retval;
|
||||||
struct task_struct *p = NULL;
|
struct task_struct *p;
|
||||||
int cgroup_callbacks_done = 0;
|
int cgroup_callbacks_done = 0;
|
||||||
|
|
||||||
if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS))
|
if ((clone_flags & (CLONE_NEWNS|CLONE_FS)) == (CLONE_NEWNS|CLONE_FS))
|
||||||
|
|
Loading…
Reference in a new issue