projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f82528b
)
wanxl: remove a stray irq enable
author
Dan Carpenter
<error27@gmail.com>
Tue, 28 Jun 2011 20:29:51 +0000
(20:29 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Jul 2011 05:13:37 +0000
(22:13 -0700)
This is error path calls unlock_irq() where we haven't disabled the
IRQs. The comment says that this error path can never happen.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/wanxl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wan/wanxl.c
b/drivers/net/wan/wanxl.c
index 8d7aa43dfba547d33cea766306b13f7ac7510cf8..44b707197258948fa3351de4cc8ca246676d922c 100644
(file)
--- a/
drivers/net/wan/wanxl.c
+++ b/
drivers/net/wan/wanxl.c
@@
-284,7
+284,7
@@
static netdev_tx_t wanxl_xmit(struct sk_buff *skb, struct net_device *dev)
printk(KERN_DEBUG "%s: transmitter buffer full\n", dev->name);
#endif
netif_stop_queue(dev);
- spin_unlock
_irq
(&port->lock);
+ spin_unlock(&port->lock);
return NETDEV_TX_BUSY; /* request packet to be queued */
}