From nobody Sun Oct 02 04:29:38 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 4Mg9wf2yF1z4dt9d; Sun, 2 Oct 2022 04:29:38 +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 4Mg9wf2GJsz45F1; Sun, 2 Oct 2022 04:29:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684978; 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=FFA6l0XRngj1zRvS1MUJIUouig4SjbpzaHpguu9pOoE=; b=hk59WBAOqb2qpEW2psRx8ezaRKg/GnXBlhSNs1y1UwTgDPDBMgyqipXXXK4HL9efnnuofY QwwPORsJpIJ444aXGnWBkzQzaXOUwl3m24k/HU7+LrxA3ipe3RRWa94s2z4k4hXESjUFou 2Zf8NfRX7amn3LveSoAOc+43QOEVq2Q4YwYgBdAPdgMUrjiY/UhNr0GHtu135YmyMYSVk4 83vjKvcCaPcMgD8sMnO50xu1v+7OpAg9kPWVsfL/xpURcXpAOCC0m/gRy7S548Nk6aAejM l5KioezZOVD1elrsqJsmUOnHZ6cHUMwytFZadqGrpkjlVwzJDSXgAr45KybCyQ== 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 4Mg9wf1LP3zlbl; Sun, 2 Oct 2022 04:29:38 +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 2924Tctd058435; Sun, 2 Oct 2022 04:29:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924TcB8058434; Sun, 2 Oct 2022 04:29:38 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:29:38 GMT Message-Id: <202210020429.2924TcB8058434@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: 1ec294e4e368 - stable/13 - mxge_rss_ethp_z8e_fw_modevent: eliminate write only variable parent 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: 1ec294e4e368c5e1b43f6f33c641729d9a79e0f3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684978; 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=FFA6l0XRngj1zRvS1MUJIUouig4SjbpzaHpguu9pOoE=; b=O1/MukLcR+RQX8mwd/RuHG+iqMmveJSvdg7YZsFbYAdi3rm2Np9FxkeDV0lwTl775Md1Sm Tl3JzV5jPTo42WDrdiCDvUQtgDB7L5tLtcD/wOHzHKQprNyYMoDS4B4tzhSSR0kMFmc37p NMIzeb5Kue+YdyWe3qFNEpxOL1Sl/hp2Mj0fz9wpi5rGRwyf5iFV7ATPXAsL3pFitLWqsi RzjAZZy21f56LzIIxkKnvgGzOvVLlSiL692cv0oUPSv7wva2+jBgxUww2mU377SdnqjXin ZyFSnxJsCTw2jWIsFv9io520UWOc9l6pCec/AxylGBEkoI1zd7aW3Gs4CJ/kaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664684978; a=rsa-sha256; cv=none; b=hDx1cMklCify8AAHhetwGRDicwpzMxyGoq3ceo3ot2itdTN8EN55cLljVB3MnKp42YhqK2 AjXPOR4/DwQTLuagWVUobUbfjVZ9lB9CEOfMD0sUU4zkD9yGmVzpDux2D2xtyT6DsyTb8p bUS6vOzQnvnj8AT4R7br/Heai3blsWPCPbCvLHMSuYC4/2EykDgVvNfPkVZwGEnR3jwgtA nxWIzLbfNDg0/4nhxztWUUD4EJpFUMkR9EXwt8pR9Xqx2lw7UU2QpUEBSq4JcTMqstZSgQ KlLJIRTS6fYiYkH0Rr/BAuhxfcMznOJA9TzwczdOjNU+UyK15RD8mMIreTlThw== 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=1ec294e4e368c5e1b43f6f33c641729d9a79e0f3 commit 1ec294e4e368c5e1b43f6f33c641729d9a79e0f3 Author: Warner Losh AuthorDate: 2022-07-08 17:53:31 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:53 +0000 mxge_rss_ethp_z8e_fw_modevent: eliminate write only variable parent Sponsored by: Netflix (cherry picked from commit 273676a44ca9ea311492fcf258c347deccfad71f) --- sys/dev/mxge/mxge_rss_ethp_z8e.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/mxge/mxge_rss_ethp_z8e.c b/sys/dev/mxge/mxge_rss_ethp_z8e.c index d53033f41766..4e0f16ef5293 100644 --- a/sys/dev/mxge/mxge_rss_ethp_z8e.c +++ b/sys/dev/mxge/mxge_rss_ethp_z8e.c @@ -15,7 +15,7 @@ __FBSDID("$FreeBSD$"); static int mxge_rss_ethp_z8e_fw_modevent(module_t mod, int type, void *unused) { - const struct firmware *fp, *parent; + const struct firmware *fp; int error; switch (type) { case MOD_LOAD: @@ -25,7 +25,6 @@ mxge_rss_ethp_z8e_fw_modevent(module_t mod, int type, void *unused) rss_ethp_z8e_uncompressed_length, NULL); if (fp == NULL) goto fail_0; - parent = fp; return (0); fail_0: return (ENXIO);