mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08: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
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user