Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2022 04:32:01 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 80f33a69a865 - main - sendsig: eliminate write only code variable
Message-ID:  <202204050432.2354W1hh006763@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204050432.2354W1hh006763>