git: d6e320830168 - stable/13 - i386 linux: Remove unused variables.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jun 2022 19:39:01 UTC
The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=d6e320830168835e400bc305b169089d7cb1df1f commit d6e320830168835e400bc305b169089d7cb1df1f Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-09 00:25:14 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2022-06-17 19:33:49 +0000 i386 linux: Remove unused variables. (cherry picked from commit 9e70163017ff929a36926ddbc5bd6e8b6b19cfeb) --- sys/i386/linux/linux_sysvec.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index 8968a491ce95..4662392b65b8 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -204,15 +204,11 @@ linux_fixup(uintptr_t *stack_base, struct image_params *imgp) static int linux_copyout_auxargs(struct image_params *imgp, uintptr_t base) { - struct proc *p; Elf32_Auxargs *args; Elf32_Auxinfo *argarray, *pos; - struct ps_strings *arginfo; int error, issetugid; - p = imgp->proc; issetugid = imgp->proc->p_flag & P_SUGID ? 1 : 0; - arginfo = (struct ps_strings *)PROC_PS_STRINGS(p); args = (Elf32_Auxargs *)imgp->auxargs; argarray = pos = malloc(LINUX_AT_COUNT * sizeof(*pos), M_TEMP, M_WAITOK | M_ZERO); @@ -508,13 +504,12 @@ linux_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) struct trapframe *regs; struct l_sigframe *fp, frame; l_sigset_t lmask; - int sig, code; + int sig; int oonstack; PROC_LOCK_ASSERT(p, MA_OWNED); psp = p->p_sigacts; sig = ksi->ksi_signo; - code = ksi->ksi_code; mtx_assert(&psp->ps_mtx, MA_OWNED); if (SIGISMEMBER(psp->ps_siginfo, sig)) { /* Signal handler installed with SA_SIGINFO. */