diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/pid.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/pid.c b/kernel/pid.c index a9ae9f7fb229..e9a31d362b28 100644 --- a/kernel/pid.c +++ b/kernel/pid.c | |||
@@ -354,7 +354,6 @@ void transfer_pid(struct task_struct *old, struct task_struct *new, | |||
354 | { | 354 | { |
355 | new->pids[type].pid = old->pids[type].pid; | 355 | new->pids[type].pid = old->pids[type].pid; |
356 | hlist_replace_rcu(&old->pids[type].node, &new->pids[type].node); | 356 | hlist_replace_rcu(&old->pids[type].node, &new->pids[type].node); |
357 | old->pids[type].pid = NULL; | ||
358 | } | 357 | } |
359 | 358 | ||
360 | struct task_struct *pid_task(struct pid *pid, enum pid_type type) | 359 | struct task_struct *pid_task(struct pid *pid, enum pid_type type) |