[rtems-libbsd commit] if_dwc: Fix warning
Sebastian Huber
sebh at rtems.org
Wed Apr 1 07:16:38 UTC 2015
Module: rtems-libbsd
Branch: master
Commit: 4a5a309059918846a04fd9467febec1cb1472284
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=4a5a309059918846a04fd9467febec1cb1472284
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Mar 26 15:11:41 2015 +0100
if_dwc: Fix warning
---
freebsd/sys/dev/dwc/if_dwc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/freebsd/sys/dev/dwc/if_dwc.c b/freebsd/sys/dev/dwc/if_dwc.c
index 9eec8f8..75d4862 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)
More information about the vc
mailing list