diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-04-03 20:16:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-04 10:02:21 -0400 |
commit | a50988a11d1bbf58213f81d46623596bfb51a969 (patch) | |
tree | 5283716eee47305c6aebe1b885175fa99d02e710 /drivers/net/ethernet/smsc/smc911x.c | |
parent | 7db8df02797e29cfa7d62a7e0b19f41e64b8433e (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/smsc/smc911x.c')
-rw-r--r-- | drivers/net/ethernet/smsc/smc911x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/smsc/smc911x.c b/drivers/net/ethernet/smsc/smc911x.c index 66b05e62f70a..1c44e67c3067 100644 --- a/drivers/net/ethernet/smsc/smc911x.c +++ b/drivers/net/ethernet/smsc/smc911x.c | |||
@@ -1211,7 +1211,6 @@ static void | |||
1211 | smc911x_rx_dma_irq(int dma, void *data) | 1211 | smc911x_rx_dma_irq(int dma, void *data) |
1212 | { | 1212 | { |
1213 | struct net_device *dev = (struct net_device *)data; | 1213 | struct net_device *dev = (struct net_device *)data; |
1214 | unsigned long ioaddr = dev->base_addr; | ||
1215 | struct smc911x_local *lp = netdev_priv(dev); | 1214 | struct smc911x_local *lp = netdev_priv(dev); |
1216 | struct sk_buff *skb = lp->current_rx_skb; | 1215 | struct sk_buff *skb = lp->current_rx_skb; |
1217 | unsigned long flags; | 1216 | unsigned long flags; |