Skip to contentSkip to conversation

NET: sb1250: Fix compile warning in driver

PATCH Applied Ralf Baechle 2 participants 2 messages Apr 6, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
 drivers/net/sb1250-mac.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/sb1250-mac.c +0 -1
index 9944e5d..142261b 100644
@@ -2664,7 +2664,6 @@ static int sbmac_close(struct net_device *dev)
 static int sbmac_poll(struct napi_struct *napi, int budget)
 {
 	struct sbmac_softc *sc = container_of(napi, struct sbmac_softc, napi);
-	struct net_device *dev = sc->sbm_dev;
 	int work_done;
 
 	work_done = sbdma_rx_process(sc, &(sc->sbm_rxdma), budget, 1);