X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=kernel%2Fexit.c;h=993369ee94d1ebb8d4c7675a821e90abf8a1737e;hb=50ef295119645215c076700e7ddf4869df5f56ce;hp=06b24b3aa370c69577012023b12573d4c7624d19;hpb=f2ab6d8889422c1f5354f014e8bef337b1d1bade;p=cascardo%2Flinux.git diff --git a/kernel/exit.c b/kernel/exit.c index 06b24b3aa370..993369ee94d1 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -86,14 +85,6 @@ static void __exit_signal(struct task_struct *tsk) sighand = rcu_dereference(tsk->sighand); spin_lock(&sighand->siglock); - /* - * Notify that this sighand has been detached. This must - * be called with the tsk->sighand lock held. Also, this - * access tsk->sighand internally, so it must be called - * before tsk->sighand is reset. - */ - signalfd_detach_locked(tsk); - posix_cpu_timers_exit(tsk); if (atomic_dec_and_test(&sig->count)) posix_cpu_timers_exit_group(tsk);