From: Ralf Baechle Date: Tue, 6 Apr 2010 11:03:01 +0000 (-0700) Subject: NET: sb1250: Fix compile warning in driver X-Git-Tag: MMI-PSA29.97-13-9~23873^2~566 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4cf46eaa5e46779d4e0a97f3f5c419cce1446bbe;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git NET: sb1250: Fix compile warning in driver Signed-off-by: Ralf Baechle Signed-off-by: David S. Miller --- diff --git a/drivers/net/sb1250-mac.c b/drivers/net/sb1250-mac.c index f7de960ca06f..332031747a23 100644 --- a/drivers/net/sb1250-mac.c +++ b/drivers/net/sb1250-mac.c @@ -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);