OSDN Git Service

libceph: treat sockaddr_storage with uninitialized family as blank
[uclinux-h8/linux.git] / kernel / fork.c
index 4c95cb3..1bfefc6 100644 (file)
@@ -1141,10 +1141,6 @@ static int copy_signal(unsigned long clone_flags, struct task_struct *tsk)
        tty_audit_fork(sig);
        sched_autogroup_fork(sig);
 
-#ifdef CONFIG_CGROUPS
-       init_rwsem(&sig->group_rwsem);
-#endif
-
        sig->oom_score_adj = current->signal->oom_score_adj;
        sig->oom_score_adj_min = current->signal->oom_score_adj_min;