aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dwc
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2022-02-21 10:03:25 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2022-02-21 10:08:18 +0000
commit79778f86922582c44a777c98f54b6f7cf842cbed (patch)
tree0ff64b9a69e3fb3fffbb32e0937840d7af0eb278 /sys/dev/dwc
parent8c70a27c4d25485bc08a7a11ee8eca6a66a7a4db (diff)
Diffstat (limited to 'sys/dev/dwc')
-rw-r--r--sys/dev/dwc/if_dwc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c
index 429e250f48e8..d1a536639304 100644
--- a/sys/dev/dwc/if_dwc.c
+++ b/sys/dev/dwc/if_dwc.c
@@ -1288,13 +1288,11 @@ dwc_txfinish_locked(struct dwc_softc *sc)
static void
dwc_rxfinish_locked(struct dwc_softc *sc)
{
- struct ifnet *ifp;
struct mbuf *m;
int error, idx;
struct dwc_hwdesc *desc;
DWC_ASSERT_LOCKED(sc);
- ifp = sc->ifp;
for (;;) {
idx = sc->rx_idx;
desc = sc->rxdesc_ring + idx;