diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/signal.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 6c0958e52ea7..c5b9aabb1550 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -343,9 +343,6 @@ static int collect_signal(int sig, struct sigpending *list, siginfo_t *info) | |||
343 | struct sigqueue *q, *first = NULL; | 343 | struct sigqueue *q, *first = NULL; |
344 | int still_pending = 0; | 344 | int still_pending = 0; |
345 | 345 | ||
346 | if (unlikely(!sigismember(&list->signal, sig))) | ||
347 | return 0; | ||
348 | |||
349 | /* | 346 | /* |
350 | * Collect the siginfo appropriate to this signal. Check if | 347 | * Collect the siginfo appropriate to this signal. Check if |
351 | * there is another siginfo for the same signal. | 348 | * there is another siginfo for the same signal. |