git: 80f33a69a865 - main - sendsig: eliminate write only code variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Apr 2022 04:32:01 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=80f33a69a8653cb9a384cec12ad55081f8e81905
commit 80f33a69a8653cb9a384cec12ad55081f8e81905
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-04 23:54:23 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-04-05 04:29:10 +0000
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 16c43e3a14fe..5867988a7347 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;