projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db8df0
)
net: smc911x: Remove unused local variable
author
Laurent Pinchart
<
[email protected]
>
Fri, 4 Apr 2014 00:16:23 +0000
(
02:16
+0200)
committer
David S. Miller
<
[email protected]
>
Fri, 4 Apr 2014 14:02:21 +0000
(10:02 -0400)
The ioaddr local variable is assigned to but never used in the
smc911x_rx_dma_irq() function, remove it.
Signed-off-by: Laurent Pinchart <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/smsc/smc911x.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/smsc/smc911x.c
b/drivers/net/ethernet/smsc/smc911x.c
index 66b05e62f70a8bf8b7652b296bce1ef57d5b8699..1c44e67c3067c7640e64b5586b7abe721a0bd78c 100644
(file)
--- a/
drivers/net/ethernet/smsc/smc911x.c
+++ b/
drivers/net/ethernet/smsc/smc911x.c
@@
-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;