Skip to content

Commit

Permalink
wanxl: remove a stray irq enable
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
error27 authored and davem330 committed Jul 1, 2011
1 parent f82528b commit 0311ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wan/wanxl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
}

Expand Down

0 comments on commit 0311ee2

Please sign in to comment.