aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/signal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 24be82c0aae3..02ef3548aeb0 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -551,9 +551,7 @@ static int check_kill_permission(int sig, struct siginfo *info,
551 !capable(CAP_KILL)) { 551 !capable(CAP_KILL)) {
552 switch (sig) { 552 switch (sig) {
553 case SIGCONT: 553 case SIGCONT:
554 read_lock(&tasklist_lock);
555 sid = task_session(t); 554 sid = task_session(t);
556 read_unlock(&tasklist_lock);
557 /* 555 /*
558 * We don't return the error if sid == NULL. The 556 * We don't return the error if sid == NULL. The
559 * task was unhashed, the caller must notice this. 557 * task was unhashed, the caller must notice this.