From f31e70952fa696f99ce03554a8e4e1a7a7a96931 Mon Sep 17 00:00:00 2001 From: dchagin Date: Sat, 9 Jan 2016 16:29:51 +0000 Subject: MFC r283436: Use the BSD_TO_LINUX_SIGNAL() wherever there is no need to check the ABI as it is known. --- sys/amd64/linux32/linux32_sysvec.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'sys/amd64') diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c index 448563b..bf570c7 100644 --- a/sys/amd64/linux32/linux32_sysvec.c +++ b/sys/amd64/linux32/linux32_sysvec.c @@ -344,9 +344,7 @@ linux_rt_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) /* * Build the argument list for the signal handler. */ - if (p->p_sysent->sv_sigtbl) - if (sig <= p->p_sysent->sv_sigsize) - sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; + sig = BSD_TO_LINUX_SIGNAL(sig); bzero(&frame, sizeof(frame)); @@ -492,9 +490,7 @@ linux_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) /* * Build the argument list for the signal handler. */ - if (p->p_sysent->sv_sigtbl) - if (sig <= p->p_sysent->sv_sigsize) - sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; + sig = BSD_TO_LINUX_SIGNAL(sig); bzero(&frame, sizeof(frame)); -- cgit v1.1