diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-03 10:39:04 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-11 21:19:48 +0200 |
commit | 4ff4c31a6e85f4c49fbeebeaa28018d002884b5a (patch) | |
tree | f52352dc15a1199f77e24d676ba17de98e885b0b /include/linux/sched | |
parent | 079b22dc9be985c591589fcb94769b8e13518aa0 (diff) | |
download | linux-stable-4ff4c31a6e85f4c49fbeebeaa28018d002884b5a.tar.gz linux-stable-4ff4c31a6e85f4c49fbeebeaa28018d002884b5a.tar.bz2 linux-stable-4ff4c31a6e85f4c49fbeebeaa28018d002884b5a.zip |
signal: Remove SEND_SIG_FORCED
There are no more users of SEND_SIG_FORCED so it may be safely removed.
Remove the definition of SEND_SIG_FORCED, it's use in is_si_special,
it's use in TP_STORE_SIGINFO, and it's use in __send_signal as without
any users the uses of SEND_SIG_FORCED are now unncessary.
This makes the code simpler, easier to understand and use. Users of
signal sending functions now no longer need to ask themselves do I
need to use SEND_SIG_FORCED.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/sched')
-rw-r--r-- | include/linux/sched/signal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched/signal.h b/include/linux/sched/signal.h index 9b6968cbde14..9e07f3521549 100644 --- a/include/linux/sched/signal.h +++ b/include/linux/sched/signal.h @@ -477,7 +477,6 @@ static inline int kill_cad_pid(int sig, int priv) /* These can be the second arg to send_sig_info/send_group_sig_info. */ #define SEND_SIG_NOINFO ((struct siginfo *) 0) #define SEND_SIG_PRIV ((struct siginfo *) 1) -#define SEND_SIG_FORCED ((struct siginfo *) 2) /* * True if we are on the alternate signal stack. |