NET: sb1250: Fix compile warning in driver
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7ae554e555
commit
4cf46eaa5e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue