From nobody Sat Apr 09 00:27:56 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F0C301AAC1A6; Sat, 9 Apr 2022 00:27:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZwv05TP1z3p2v; Sat, 9 Apr 2022 00:27:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Inpe0baOdN/5MZbJqfQOUpYbg3d0xqA4yYMFHr4v19M=; b=EQcwVTeRhIs7KJ0N/mzji0lP8jc/lpRysRi13hsnMHghuF8OuMUUC4u8360JSehJU5DK1o lo8eE0T8AVf0Zt7NcO1K0dVcqfDYQM7raEoJb1F4hdW/T/uOczquaq8Rll1iU1n+hz+TWj H2lb22xXeabJBGlgrbSXY0wIDEuZvxnuidut+3ie9SkWSRPoXjb67v9eYxWBFENXVmW5V/ NgdJ88Z20mPJagpvQPRwTW8Rf/LnxJtkEWrClcvk3VzEer88Tot7ixulWxgs1S0CKy6ybo bOhfESEPUHgyZLXT0iR0AuCW5f2dx2EV+LUt1OqmHAhanTEyGj3raZA0tOryNw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 887D37569; Sat, 9 Apr 2022 00:27:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2390Ru9B056655; Sat, 9 Apr 2022 00:27:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2390Rujg056654; Sat, 9 Apr 2022 00:27:56 GMT (envelope-from git) Date: Sat, 9 Apr 2022 00:27:56 GMT Message-Id: <202204090027.2390Rujg056654@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 9e70163017ff - main - i386 linux: Remove unused variables. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9e70163017ff929a36926ddbc5bd6e8b6b19cfeb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Inpe0baOdN/5MZbJqfQOUpYbg3d0xqA4yYMFHr4v19M=; b=UNKKs4UoS8rLqQ5ohJqtNbvaACZ7tyDmU59qa7pM+sfMYDIVenIaeqHD9TOcYScZsFZ0LX QXZu0qe0KS2AKmtdiOJmemXCMU/88YPItNvwuIY8Iyawa7HwoNbRYNEMsNd9sY8pPhSm8O Djm4pSx9t+Hs/3A6BWrbDXkJQD8OEXWUzD2204x3zqpCAwq8tgum9e7+Reg/rVQkszYccq vnPyQ27ulc5PkGpSQmK8r809URjzKF99XgeOgIi3WTYz/i2YuoHWjdmApLEgRsVAORHETn lC1KT+wejispJ3v6Zk0i8EFZUtELc929z4JFPXsyYxyLY373RiB2NVBqfgGexg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649464077; a=rsa-sha256; cv=none; b=okEGwVaLHoAjGgu/jr8x3xGVWA00TEn4SyvfSEbioPWvDy+PtCyXs721uWOmnyvkdCIL1t tfATUD526i8m1h4HDacRBZF1GDvi5DvUiV7yRye40xiH5v5CIOsHhHtivttjt+UlhHMEgd +6jlMVoHMgeyyWkfdLe/K+NOaWja6l2+KFj/rYMJURemN5XWhybNlOzx3M1pD6xXz0CfLC wFQQKtPAzztYKbfbuF0QNqpXKcnfuSE9vsQtNwr600OeZszosggIccTSVmWPUk3fJ3CPAB +x+Mrw4ZEka29e46xVfvYRJc/zWAv+kQVztNBuNN7AIE0GE4ZnPiZbWYM8YOsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=9e70163017ff929a36926ddbc5bd6e8b6b19cfeb commit 9e70163017ff929a36926ddbc5bd6e8b6b19cfeb Author: John Baldwin AuthorDate: 2022-04-09 00:25:14 +0000 Commit: John Baldwin CommitDate: 2022-04-09 00:25:14 +0000 i386 linux: Remove unused variables. --- 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 f5b92f063352..7bc7c96e943a 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. */