diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c index f2603833fc13..7ca16ace8e09 100644 --- a/sys/dev/dwc/if_dwc.c +++ b/sys/dev/dwc/if_dwc.c @@ -745,7 +745,7 @@ dwc_txfinish_locked(struct dwc_softc *sc) DWC_ASSERT_LOCKED(sc); - fp = sc->ifp; + ifp = sc->ifp; while (sc->tx_idx_tail != sc->tx_idx_head) { desc = &sc->txdesc_ring[sc->tx_idx_tail]; if ((desc->tdes0 & DDESC_TDES0_OWN) != 0)