From nobody Tue Apr 05 04:32:01 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 438C31A8FD09; Tue, 5 Apr 2022 04:32: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 4KXZVT6d7Bz4fky; Tue, 5 Apr 2022 04:32:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133122; 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=cC8MQ/NBKVIqDBpAuCYSVtReo40gRQg46PX9BbYmx8s=; b=pi9yjl3zYIheV9boCgWARqo7Vr3JAC0uqNm4d+RVrfDMUtVoZlmQ/98/nWBBh+zPf2EpEH e5FyL39jmEAGMZpitubKXeNMq2mbI9Q0lhduw5Xk9qyG/wu9zA1nHYbEYJLzpfw3TNnmj8 0MS/OhVK0zdBBQ6ucgdCF8Dp1RmL767SZM9fCVsfVBuVOgl9tM8+87k0Ttib7nh+FjnY5z s6wV2ZyHDBfUdf5TnZFTr2kpgfigsNuxscyHB8EXTN7Qv9eyqyf5wrAjwQpMnPVTHUgLsD wDbBJDihgKMhXEf/uLjZU6LW8CZjYQN5DZHwV8hxVle79+7FTemaZSOup66FJw== 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 B43281FC12; Tue, 5 Apr 2022 04:32: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 2354W1uK006777; Tue, 5 Apr 2022 04:32:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354W1hh006763; Tue, 5 Apr 2022 04:32:01 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:32:01 GMT Message-Id: <202204050432.2354W1hh006763@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 80f33a69a865 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 80f33a69a8653cb9a384cec12ad55081f8e81905 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133122; 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=cC8MQ/NBKVIqDBpAuCYSVtReo40gRQg46PX9BbYmx8s=; b=YLfvocJCXIQCmjHoYKh9iWd2s2rT6ESAjJScsWWuMHD2K6k1ZHkkHSvAfLIClkY+bBgnoy KVP9OsPQtE6p1873jySVOqnHxqqdY9kgJu6K1/u0u+9PkK0l2AM2wD49P+TBNb40ziPQOc YI/FxIgrV1LoHsYxqRbJOIA3L8+3R5M1AXW0BgDol2xrfWbP/qo3zWLehwWODKjkqCiC7U rIlZPb9SqtuhiA4k9lXWYr6fq0UedLjbfZy/05B1OMaKBEzVgXaldM72OZJ/uNk1op3BwI UxG4nWWvH2vPoOBfIGdbOxlpcVlO+ZN4YP3OacUGSRF2bTcjdTB/lvWnzOd1sA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133122; a=rsa-sha256; cv=none; b=GNLCh+RVsYIPmLHELhvmUFG19NEiUmjnbWeuDzQw6SshF0EIJv6A/Syh6nepLLqNIfWPxs DHqsr/UVZ79wNSDLVV38az7sSQUchUYk8QFGIiZHuxuQ6HbaSfGrJ5rrPq4n0mJjfw3huf 0pkwkWOgD5Epsq56pB3h0iOC8IiVhGND6v8OjGJsooUJecSggShg6yK5jjnqxiJAiJPNjC Ylfn/Nuu0ei9vOYt/13hg0TNWPt8RX4vQ1pjD0XNZEPLCFRshebW+eqYNz2u29+Kakz37g dnUAj5+Xo0NNRCaOZTJ13Y9Bmj0da7Dbqh7l80+IuImvVXz1HUj3qw2i35EIZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=80f33a69a8653cb9a384cec12ad55081f8e81905 commit 80f33a69a8653cb9a384cec12ad55081f8e81905 Author: Warner Losh AuthorDate: 2022-04-04 23:54:23 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:29:10 +0000 sendsig: eliminate write only code variable Sponsored by: Netflix --- 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 16c43e3a14fe..5867988a7347 100644 --- a/sys/arm/arm/exec_machdep.c +++ b/sys/arm/arm/exec_machdep.c @@ -274,13 +274,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;