git: 51dac1cf39ed - stable/13 - sendsig: eliminate write only code variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 04:29:14 UTC
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=51dac1cf39ed76867b9649234a2d4b4a3fcf2160 commit 51dac1cf39ed76867b9649234a2d4b4a3fcf2160 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-07-08 17:53:29 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-10-02 04:25:51 +0000 sendsig: eliminate write only code variable Sponsored by: Netflix (cherry picked from commit 80f33a69a8653cb9a384cec12ad55081f8e81905) --- 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 defe17ed390c..321e59536aef 100644 --- a/sys/arm/arm/exec_machdep.c +++ b/sys/arm/arm/exec_machdep.c @@ -270,13 +270,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;