1
0
Fork 0

net: smc911x: Remove unused local variable

The ioaddr local variable is assigned to but never used in the
smc911x_rx_dma_irq() function, remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
hifive-unleashed-5.1
Laurent Pinchart 2014-04-04 02:16:23 +02:00 committed by David S. Miller
parent 7db8df0279
commit a50988a11d
1 changed files with 0 additions and 1 deletions

View File

@ -1211,7 +1211,6 @@ static void
smc911x_rx_dma_irq(int dma, void *data)
{
struct net_device *dev = (struct net_device *)data;
unsigned long ioaddr = dev->base_addr;
struct smc911x_local *lp = netdev_priv(dev);
struct sk_buff *skb = lp->current_rx_skb;
unsigned long flags;