if_dwc: Plug set but not used variable
Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
8c70a27c4d
commit
79778f8692
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user