riscv: Remove unused variable "code"
gcc found that the variabl "code", while being assigned a value, isn't be used for anything. Reviewed by: br Differential Revision: https://reviews.freebsd.org/D16114
This commit is contained in:
parent
a0ef97f6fa
commit
096da4de18
@ -548,7 +548,6 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask)
|
||||
struct thread *td;
|
||||
struct proc *p;
|
||||
int onstack;
|
||||
int code;
|
||||
int sig;
|
||||
|
||||
td = curthread;
|
||||
@ -556,7 +555,6 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask)
|
||||
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user