diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-26 15:11:41 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-01 09:15:29 +0200 |
commit | 4a5a309059918846a04fd9467febec1cb1472284 (patch) | |
tree | d610c0297d88cd46c81966f7597c88a772f19c3b /freebsd/sys/dev/dwc/if_dwc.c | |
parent | if_dwc: Use explicit cache operations (diff) | |
download | rtems-libbsd-4a5a309059918846a04fd9467febec1cb1472284.tar.bz2 |
if_dwc: Fix warning
Diffstat (limited to 'freebsd/sys/dev/dwc/if_dwc.c')
-rw-r--r-- | freebsd/sys/dev/dwc/if_dwc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/freebsd/sys/dev/dwc/if_dwc.c b/freebsd/sys/dev/dwc/if_dwc.c index 9eec8f85..75d48623 100644 --- a/freebsd/sys/dev/dwc/if_dwc.c +++ b/freebsd/sys/dev/dwc/if_dwc.c @@ -804,12 +804,9 @@ dwc_txfinish_locked(struct dwc_softc *sc) { struct dwc_bufmap *bmap; struct dwc_hwdesc *desc; - struct ifnet *ifp; DWC_ASSERT_LOCKED(sc); - 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) |