From nobody Fri Jun 17 19:39:01 2022 X-Original-To: dev-commits-src-branches@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 703C385BB9F; Fri, 17 Jun 2022 19:39:02 +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 4LPq9K55Qqz3Qll; Fri, 17 Jun 2022 19:39:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494741; 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=u+Bz8TTSu7jplMDv48g4zM6cLv7250guHz+YHd7/ZXA=; b=vfFYd2xJZZIXwVMqM1+gogQ5duNWSIQ4a53SlS7XEy+mrB7DTzcQndXuSKcRkmy4yFfeKy +lz2ipJniMDXDbv4u2zk8dKq44McIdZRblcZLAsu30fk7aSuPXE9WsXWDEm2SFb1Qcwyc2 4Wuvj/HHZKWvpHHfYzJE3ATfct6JMEW77L0FYdXCiSz+SdCenZlfLDklkpeazma4qj1q85 sHPjZV/C927P+rS6DmRUt6YkyaWI1Uk3t71rZc8MFLuCFxtB0nYJepE0/LJTe7iRrNZSDd ttwEUxn4p07n5GmWLqTj8QIqU6DxlEVlQzr2isUUPR4/fTr7IgQQRrOrixZayA== 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 7F0CF259C4; Fri, 17 Jun 2022 19:39:01 +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 25HJd1sG015457; Fri, 17 Jun 2022 19:39:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HJd11c015456; Fri, 17 Jun 2022 19:39:01 GMT (envelope-from git) Date: Fri, 17 Jun 2022 19:39:01 GMT Message-Id: <202206171939.25HJd11c015456@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: d6e320830168 - stable/13 - i386 linux: Remove unused variables. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: d6e320830168835e400bc305b169089d7cb1df1f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494741; 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=u+Bz8TTSu7jplMDv48g4zM6cLv7250guHz+YHd7/ZXA=; b=qGducq5kEu7CToHbouyrNjAIhvoD60GzujF1smfpyYXdd9PdOWgfEc9tNbWDWuPypzsaBB xYaTL3gyfAYOEfdv/pZunLcQuK4VZb7ZwtTRFTGmufCl/DOmLoVJ1Zw5poQ2KaT9ZHABQJ 74alq/11deAdpWG+yj32sUpxMP7asMvPl3T5d/qifyD6IC+KQjJsXdSNdAWd6G11dSfaH6 BAiqFDbZD5itib7FXCxTaLNo5yhqQDnWm4meNMgo//1MWxR+mYu8w9pSZ9dKDEqj1fWMLr Aep34NEQgmqHxg6TvnWl0yHCnrfwfzi+bCJ5lYvnY4PyB27XeKxnZHFvT1AKNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655494741; a=rsa-sha256; cv=none; b=EGClJ4usXgL9I9Q4Mg0gBCyELeRhrhfUv8aHVYuXDAwt6vUe21PM4AqFOJmRNg45C/LHyw lk84E1Vpal7z+kFOTlQsTV9CZs5R9TFh4NPOsLj2ngYzrJPlNpeJOy54VBRJWhvWVpMdm0 p1m0i+2F5u5+f39iLpjpNRy7vGve8oUN6n9Nspr0eeKXhqtWEUTz3l6nr5E2BXFkDjQu3o DwD35QIrSl7pUfw83/jzwPo9V6oIQkSTrOqBnAj0DgqLqKZYmzEu6ilHD2HO5Tde/vySq4 umW+mKs4oCOOgoR9XIdFtL2xXcvaNNKsYBMZeHXncyAvc9JUpQFhX6aM7spNRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=d6e320830168835e400bc305b169089d7cb1df1f commit d6e320830168835e400bc305b169089d7cb1df1f Author: John Baldwin AuthorDate: 2022-04-09 00:25:14 +0000 Commit: Dmitry Chagin 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. */