From nobody Tue Apr 05 04:32:25 2022 X-Original-To: dev-commits-src-main@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 2E4261A90D7A; Tue, 5 Apr 2022 04:32:27 +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 4KXZVy1FGMz4g7w; Tue, 5 Apr 2022 04:32:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133146; 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=vApwdBYvTaNgkA0kz/GT076ChKO/7/Tm67MARy0r6Gw=; b=gBIM1dXmKdvf/EWGzHjna1OhDz5c01JG5s2AkV53JAJVDEFokHmw6oxeE2YDpvA60wDii1 h9LUDl+AbEvsNzCJU/vT7LuYCXTdqSacgcKeuMBX0P1UR7mCaBjZs+z766QUZVzQ9LeTm1 +4i/13dAsdLLaPc1/9SU2X+pFFfV+DUx9GNYegxkc8Ws63XhFD99saIRdE8Wy4DmxFTRef VazmcxNwhrW7cGZRiu3WlYMgwT0jSq1nKIpdgASmZ46KbC+FBsA47oUCMI5/7DQeu9ZtZe FRXBvmyEOZ9ZrFjAdP/m4CWeil+0iIVZl9sGzCAo4JcJTMXhUZnvjUdnIY1ffQ== 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 AC7EC1F857; Tue, 5 Apr 2022 04:32:25 +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 2354WP83008983; Tue, 5 Apr 2022 04:32:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354WPxV008982; Tue, 5 Apr 2022 04:32:25 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:32:25 GMT Message-Id: <202204050432.2354WPxV008982@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: 886bc93da861 - main - mxge_ethp_z8e_fw_modevent: eliminate write only variable parent List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 886bc93da861ab06f341fb2d36d9592ddfaaadb6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133146; 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=vApwdBYvTaNgkA0kz/GT076ChKO/7/Tm67MARy0r6Gw=; b=y3hWQAgv/bMz8AMGs5QgaNhN3V4g8K/JLBVxlq39J8OqafsXIGzLAxOPkgeMF9Fvqw0X8L A+23dgYbuJFsR45Q1ed+3LcoosM1wH3i0ldYbxF+3pO+tqMgnvVTWYiX8o8kXrE1iax+k1 1AiWlSs04NJU890ThOwSiOrtA0XprEmW9DuRW37i78QhXcgeh5rmcdNvIoRwJq9613cuuz QkFdmq9rGjAiL5FZlmdimAm81C2hdj5zXof9A1RFCiwAjnClUNcltR+BeWqEQdbbdcIMrB raJC/SuQFUkieIvIjdmjKNUJaDho/OjaMeU+pQD30OMqX6f05fL2BuJFw0+JkQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133146; a=rsa-sha256; cv=none; b=SN8LaktpPY+hYrUrMDBAqP7QBUYzvYZRlmSmFw0RkRyxE0C04oprqv7sLq7kjCIgIqr+YX c4jiBmVWplHwEoubHyUaJwlvzvFk6fICHg3Ov+98eyOfl4pMqwCqIqsiHf5kgeOg8F3LnC Y0x+2BNqaEJVX/CfbRVWI5QY+U8JTIuCv3N4MR50cCF7zhMdWCGbrLkmRCAI4Ncn2DR2Jy mMliBO4W/zu3w/SowdxTFKiZnMVXU2r1p4Lv6LMEGlkBtkPuSDrNC9jI5wFSaZa5pFFbLv 6WFkUu/C1mMxUEYl01CNbsvJ2AIISrjMRu1ct24giBoNFdjTm7Um63e8g53wuw== 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=886bc93da861ab06f341fb2d36d9592ddfaaadb6 commit 886bc93da861ab06f341fb2d36d9592ddfaaadb6 Author: Warner Losh AuthorDate: 2022-04-05 02:09:27 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:29:45 +0000 mxge_ethp_z8e_fw_modevent: eliminate write only variable parent Sponsored by: Netflix --- sys/dev/mxge/mxge_ethp_z8e.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/mxge/mxge_ethp_z8e.c b/sys/dev/mxge/mxge_ethp_z8e.c index c0e9077c4570..fd859ee9d71c 100644 --- a/sys/dev/mxge/mxge_ethp_z8e.c +++ b/sys/dev/mxge/mxge_ethp_z8e.c @@ -15,7 +15,7 @@ __FBSDID("$FreeBSD$"); static int mxge_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_ethp_z8e_fw_modevent(module_t mod, int type, void *unused) ethp_z8e_uncompressed_length, NULL); if (fp == NULL) goto fail_0; - parent = fp; return (0); fail_0: return (ENXIO);