Date: Sun, 2 Oct 2022 04:29:35 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 0a21b6d3fb6d - stable/13 - mxge_ethp_z8e_fw_modevent: eliminate write only variable parent Message-ID: <202210020429.2924TZ0o058386@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0a21b6d3fb6d99da9fa6af63b0da1436dccbcb88 commit 0a21b6d3fb6d99da9fa6af63b0da1436dccbcb88 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-07-08 17:53:31 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-10-02 04:25:53 +0000 mxge_ethp_z8e_fw_modevent: eliminate write only variable parent Sponsored by: Netflix (cherry picked from commit 886bc93da861ab06f341fb2d36d9592ddfaaadb6) --- 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210020429.2924TZ0o058386>