|
@@ -687,14 +687,14 @@ void signal_wake_up_state(struct task_struct *t, unsigned int state)
|
|
|
*
|
|
|
* All callers must be holding the siglock.
|
|
|
*/
|
|
|
-static int flush_sigqueue_mask(sigset_t *mask, struct sigpending *s)
|
|
|
+static void flush_sigqueue_mask(sigset_t *mask, struct sigpending *s)
|
|
|
{
|
|
|
struct sigqueue *q, *n;
|
|
|
sigset_t m;
|
|
|
|
|
|
sigandsets(&m, mask, &s->signal);
|
|
|
if (sigisemptyset(&m))
|
|
|
- return 0;
|
|
|
+ return;
|
|
|
|
|
|
sigandnsets(&s->signal, &s->signal, mask);
|
|
|
list_for_each_entry_safe(q, n, &s->list, list) {
|
|
@@ -703,7 +703,6 @@ static int flush_sigqueue_mask(sigset_t *mask, struct sigpending *s)
|
|
|
__sigqueue_free(q);
|
|
|
}
|
|
|
}
|
|
|
- return 1;
|
|
|
}
|
|
|
|
|
|
static inline int is_si_special(const struct siginfo *info)
|