aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-12-09 17:45:12 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-12-09 17:45:12 +0000
commita521105980e57b4ebab5a9da72a570bbcfafa66e (patch)
tree61a891d774b1bc81cbd492192315c3d3d509a706 /sys/dev/fxp
parent793c74e415abf3c7e44c2df1472fdffde620f8e4 (diff)
downloadsrc-a521105980e57b4ebab5a9da72a570bbcfafa66e.tar.gz
src-a521105980e57b4ebab5a9da72a570bbcfafa66e.zip
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c2
1 files changed, 0 insertions, 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;