From 80f33a69a8653cb9a384cec12ad55081f8e81905 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 4 Apr 2022 17:54:23 -0600 Subject: [PATCH] sendsig: eliminate write only code variable Sponsored by: Netflix --- sys/arm/arm/exec_machdep.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/arm/arm/exec_machdep.c b/sys/arm/arm/exec_machdep.c index 16c43e3a14f..5867988a734 100644 --- a/sys/arm/arm/exec_machdep.c +++ b/sys/arm/arm/exec_machdep.c @@ -274,13 +274,11 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) struct sysentvec *sysent; int onstack; int sig; - int code; td = curthread; p = td->td_proc; PROC_LOCK_ASSERT(p, MA_OWNED); sig = ksi->ksi_signo; - code = ksi->ksi_code; psp = p->p_sigacts; mtx_assert(&psp->ps_mtx, MA_OWNED); tf = td->td_frame;