NET: sb1250: Fix compile warning in driver
authorRalf Baechle <ralf@linux-mips.org>
Tue, 6 Apr 2010 11:03:01 +0000 (04:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Apr 2010 11:03:01 +0000 (04:03 -0700)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sb1250-mac.c

index f7de960..3320317 100644 (file)
@@ -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);