From: Eric W. Biederman Date: Fri, 31 Mar 2017 00:26:35 +0000 (-0500) Subject: signal: Remove unused definition of sig_user_definied X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d27158c0cf080c85753f34e7a20a91c3ba20a0b9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git signal: Remove unused definition of sig_user_definied Signed-off-by: "Eric W. Biederman" --- diff --git a/include/linux/signal.h b/include/linux/signal.h index 94ad6eea9550..1f5a16620693 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h @@ -390,10 +390,6 @@ int unhandled_signal(struct task_struct *tsk, int sig); #define sig_kernel_ignore(sig) siginmask(sig, SIG_KERNEL_IGNORE_MASK) #define sig_kernel_stop(sig) siginmask(sig, SIG_KERNEL_STOP_MASK) -#define sig_user_defined(t, signr) \ - (((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_DFL) && \ - ((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_IGN)) - #define sig_fatal(t, signr) \ (!siginmask(signr, SIG_KERNEL_IGNORE_MASK|SIG_KERNEL_STOP_MASK) && \ (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL)