diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 64ad0ed15992..f5f3b8a61bee 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -661,7 +661,6 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t, | |||
661 | struct sigpending *signals) | 661 | struct sigpending *signals) |
662 | { | 662 | { |
663 | struct sigqueue * q = NULL; | 663 | struct sigqueue * q = NULL; |
664 | int ret = 0; | ||
665 | 664 | ||
666 | /* | 665 | /* |
667 | * Deliver the signal to listening signalfds. This must be called | 666 | * Deliver the signal to listening signalfds. This must be called |
@@ -719,7 +718,7 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t, | |||
719 | 718 | ||
720 | out_set: | 719 | out_set: |
721 | sigaddset(&signals->signal, sig); | 720 | sigaddset(&signals->signal, sig); |
722 | return ret; | 721 | return 0; |
723 | } | 722 | } |
724 | 723 | ||
725 | #define LEGACY_QUEUE(sigptr, sig) \ | 724 | #define LEGACY_QUEUE(sigptr, sig) \ |