diff options
author | Dan Carpenter <error27@gmail.com> | 2011-06-29 00:29:51 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-01 09:13:37 +0400 |
commit | 0311ee2262440b903a81fa38512d12bc2478e66f (patch) | |
tree | 6fcab3e93874b3ca235db4754f0993fda96e9534 /drivers/net/wan/wanxl.c | |
parent | f82528bc13a157335dc53e78ce801883b26831e2 (diff) | |
download | linux-0311ee2262440b903a81fa38512d12bc2478e66f.tar.xz |
wanxl: remove a stray irq enable
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>
Diffstat (limited to 'drivers/net/wan/wanxl.c')
-rw-r--r-- | drivers/net/wan/wanxl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/wanxl.c b/drivers/net/wan/wanxl.c index 8d7aa43dfba5..44b707197258 100644 --- 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 */ } |