Date: Thu, 9 Dec 2021 17:45:36 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: a521105980e5 - main - fxp: plug set-but-not-used vars Message-ID: <202112091745.1B9HjaWE052083@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=a521105980e57b4ebab5a9da72a570bbcfafa66e commit a521105980e57b4ebab5a9da72a570bbcfafa66e Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2021-12-09 17:45:12 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2021-12-09 17:45:12 +0000 fxp: plug set-but-not-used vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/fxp/if_fxp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index d89d19632a9a..ae2f522ad44c 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -1408,7 +1408,6 @@ fxp_start_body(if_t ifp) static int fxp_encap(struct fxp_softc *sc, struct mbuf **m_head) { - if_t ifp; struct mbuf *m; struct fxp_tx *txp; struct fxp_cb_tx *cbp; @@ -1417,7 +1416,6 @@ fxp_encap(struct fxp_softc *sc, struct mbuf **m_head) int error, i, nseg, tcp_payload; FXP_LOCK_ASSERT(sc, MA_OWNED); - ifp = sc->ifp; tcp_payload = 0; tcp = NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112091745.1B9HjaWE052083>