From nobody Sun Oct 02 04:29:14 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 4Mg9wB4R2pz4dt6j; Sun, 2 Oct 2022 04:29:14 +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 4Mg9wB3r12z43Yf; Sun, 2 Oct 2022 04:29:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684954; 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=cKZ1VvO5q0fOa67rNjVJH0uwWDwurLLIuhXMK2M6CgM=; b=Rx1dkhdWEbbI5pwIkIHwUGVbYf17aKPL8kYCDIS1L6W3k8fcfm7sCzvCJ1jueOczHCAE4c lBSN9COHR/J1RByT6k1KOWZuULKY78sico6ignnDVOBbIE/+42oqZPI1i/6mtQM85p8Tvw E/WYzFdvVSDLDS2es0Wbo43Y5qvir0WMUCOKWTQK4zTafLH5qZzeqr3b1IbDmbkKwY0auL c6zHkPZ/vMQ6gCSQ6Pmi5qQiLoPJMWjyUNK/CTzwphVvIFhIA/a6BE5VMu/SpyaYwCC+Te KP4ferNN/CyX9QNYcpSX5LilT0M9LVOkfa3GQGZhayxpsgh+gcU3Ujjt1I8TLw== 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 4Mg9wB2jfgzlYC; Sun, 2 Oct 2022 04:29:14 +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 2924TEpf057892; Sun, 2 Oct 2022 04:29:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924TESq057891; Sun, 2 Oct 2022 04:29:14 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:29:14 GMT Message-Id: <202210020429.2924TESq057891@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 51dac1cf39ed - stable/13 - sendsig: eliminate write only code variable 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 51dac1cf39ed76867b9649234a2d4b4a3fcf2160 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684954; 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=cKZ1VvO5q0fOa67rNjVJH0uwWDwurLLIuhXMK2M6CgM=; b=LqFLRYAmUGS8asr33IeMyvQox6Q0WS7UpjosrLEYXnzBSbGhMELMee6Qnm48ISjHWfIdtW 2TL/QBCRv+YJuCYFxkgHhTCW3ua4WFwELHHeFnDQvmi8EC0yImEYP5ZQZPyxXzGOGYTxrZ fRb4q8BXouASApMnTTEfb5xuZcLDe0tbXSHAZUCelWDnSXAlphDbjCNRYmC4dJt6jswWIX nkUuyDPgnKMFJN6PZlBhOTax5xBrNcJ0vEB5jcl4CEwCdCa0pyRiOtugFezgXBzQh1OTDO lmhM150jkCDXZ5mJQvvlFiEB17wGBMeeUcDa4mf8tTGx0IxQnCa/j1D+pvnHFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664684954; a=rsa-sha256; cv=none; b=saQD0UaDnoApSjV+dPyrTfdwuF8j6O9ExS+o8nimYPsol1j/Kb8CS5ocMCHRgUAcnzgRUG 2ouL4fPsqCCfg5l1JzNtX/sBt8SYjYoPzWXQ4pNJ16vF1cS+/643H9RjB7GF1tHaCeXGzJ YcGWmm0zyBliBBprduIlnu0eUY4pEN3b7L5EC2T0H4xomFq6bng/iXUZ6ebxuVILO2Oh2Z 1QLlZ0RC6oGEpPNHJHPppAqsvb/rSGBKN3wnrPNFCFq3yTgQAA2dR2Z4+CY/FscgTQnpmM Tl/jjsprTNMlQksO+FOKgkRXC3zQr3+MecBCDJhY1aVzpcC03xqH/FYIgcJX/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=51dac1cf39ed76867b9649234a2d4b4a3fcf2160 commit 51dac1cf39ed76867b9649234a2d4b4a3fcf2160 Author: Warner Losh AuthorDate: 2022-07-08 17:53:29 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:51 +0000 sendsig: eliminate write only code variable Sponsored by: Netflix (cherry picked from commit 80f33a69a8653cb9a384cec12ad55081f8e81905) --- 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 defe17ed390c..321e59536aef 100644 --- a/sys/arm/arm/exec_machdep.c +++ b/sys/arm/arm/exec_machdep.c @@ -270,13 +270,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;