mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-22 22:33:59 +00:00
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>
This commit is contained in:
parent
7db8df0279
commit
a50988a11d
1 changed files with 0 additions and 1 deletions
|
@ -1211,7 +1211,6 @@ static void
|
||||||
smc911x_rx_dma_irq(int dma, void *data)
|
smc911x_rx_dma_irq(int dma, void *data)
|
||||||
{
|
{
|
||||||
struct net_device *dev = (struct net_device *)data;
|
struct net_device *dev = (struct net_device *)data;
|
||||||
unsigned long ioaddr = dev->base_addr;
|
|
||||||
struct smc911x_local *lp = netdev_priv(dev);
|
struct smc911x_local *lp = netdev_priv(dev);
|
||||||
struct sk_buff *skb = lp->current_rx_skb;
|
struct sk_buff *skb = lp->current_rx_skb;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
Loading…
Add table
Reference in a new issue