From nobody Sun Oct 02 04:29:36 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 4Mg9wd1qPjz4dsxc; Sun, 2 Oct 2022 04:29:37 +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 4Mg9wd1Ldfz4518; Sun, 2 Oct 2022 04:29:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684977; 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=C30M3aFwb5I7d2lBK7bg7Js7i+F/VbyI1hpKqzfdLSM=; b=CQu+MITtAx3aa5wsKLFhTFCswbQU0UvIAMubymQIBZtSMkU74CP7OeqYqGVdPdffxZvAW+ +NQcn77OS/rbQcqLHL+4mAsxlj4gB4iSxkS+tj9cGw2/2OfJP2ngitzNbps7HGWG4I10qY gV7w1q09W4SAU/DD5c14riUtbNeqoYw/zlbqMQJlNZywyHmDwt40sg/vFk641qP0pUWs7i XWvd5Toyt//9FSLf2ErR/MVv5c6TJXFKqFvWU+evjWYac1Wa2wI2QOwXywAmt71fBxQdDt PPcAZECJ/g8F6ff3aWL8bbqL06U+/fl3vHFXZcWHv2U4rD7KPTPeTnf/GUYv/w== 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 4Mg9wd0QPVzlf7; Sun, 2 Oct 2022 04:29:37 +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 2924Tajm058411; Sun, 2 Oct 2022 04:29:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924TaNJ058410; Sun, 2 Oct 2022 04:29:36 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:29:36 GMT Message-Id: <202210020429.2924TaNJ058410@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: 521300dd930b - stable/13 - mxge_rss_eth_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: 521300dd930bb7f35d2d1ba973e89b1ecef9d2a1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684977; 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=C30M3aFwb5I7d2lBK7bg7Js7i+F/VbyI1hpKqzfdLSM=; b=laE+u8nnUkN5xGBf/JKyQ35cxNNSuJL5m0bwm4RJEjapXDwixU7RjqmUZ+ffSJ7JG3ngC+ E7efQMpUUa6mLTe2cIjwKuL+NKRCETb3yQSwsPgqI7kAovs/HKI2AL9w3VlbjPo1b1IdqM jXcEyAQ2H9KocMDXb7NHhvlz3/LtygGobpeTRjttORVrMREiswvH5wrk9JLxXIoN4m6pZ5 0xNN5LMxODLAD063RFaAw602voVWBFlKtDqaMbiLrOKJtFCvD+D/9XEYSUsuONCxny30N5 pEap6N7r5zimr21QZy7J5+3KBqqbOOsk66yr0bvpmwvu/4nFCGBxO3ymlIihzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664684977; a=rsa-sha256; cv=none; b=mghnXS+wndr2FZROadZgxw4aAZ7WkxoVb339Fu6lbscWJCcXpgoqEuS9L5tWzyr9VmaHQU 209OoN7TJMMX3g4hll4G01yvnCTHlwP6oid3pt2u2PiYUObVyxbZbsexMYyNucUFoVbeJT 1IIpJgtXgMnasnTzK2L6Jnc881YD43fdW4HHUPcLUKtNqlB5j9wV8g0Wh0LP4wdi04HKR5 pFyDcjIxy5kDiaa8MmaUj70emceXrDOZ/CD/nBEVr9Sh1rl2NL6B1CVxv6KbgZY9HyT0+u MHRv9/UzGhq5hFgnaxO5cXWUk5cXSCtaxPD4gor7gKL6KA9nChoGkBwI48CvGQ== 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=521300dd930bb7f35d2d1ba973e89b1ecef9d2a1 commit 521300dd930bb7f35d2d1ba973e89b1ecef9d2a1 Author: Warner Losh AuthorDate: 2022-07-08 17:53:31 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:53 +0000 mxge_rss_eth_z8e_fw_modevent: eliminate write only variable parent Sponsored by: Netflix (cherry picked from commit 5f136a4c01496cd05e01b39c3a19e9877d2ec8ee) --- sys/dev/mxge/mxge_rss_eth_z8e.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/mxge/mxge_rss_eth_z8e.c b/sys/dev/mxge/mxge_rss_eth_z8e.c index 04519f6e8f36..889abc367d57 100644 --- a/sys/dev/mxge/mxge_rss_eth_z8e.c +++ b/sys/dev/mxge/mxge_rss_eth_z8e.c @@ -15,7 +15,7 @@ __FBSDID("$FreeBSD$"); static int mxge_rss_eth_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_eth_z8e_fw_modevent(module_t mod, int type, void *unused) rss_eth_z8e_uncompressed_length, NULL); if (fp == NULL) goto fail_0; - parent = fp; return (0); fail_0: return (ENXIO);