aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2007-05-21 14:33:21 +0100
committerJeff Garzik <jeff@garzik.org>2007-05-21 19:41:19 -0400
commitf1e9a4eaea5c22cfb557e58a8cd0ca3bde5160a5 (patch)
treee9de0cebc5fcfaca838b26d378d8845e0c6101a6 /drivers
parent3e1657c8ef53e1cd541cc1e420f3230dc075949b (diff)
downloadkernel_samsung_smdk4412-f1e9a4eaea5c22cfb557e58a8cd0ca3bde5160a5.zip
kernel_samsung_smdk4412-f1e9a4eaea5c22cfb557e58a8cd0ca3bde5160a5.tar.gz
kernel_samsung_smdk4412-f1e9a4eaea5c22cfb557e58a8cd0ca3bde5160a5.tar.bz2
declance: Remove a dangling spin_unlock_irq() thingy
The spin_unlock_irq() invocation in lance_start_xmit() has no matching locking request. The call is already protected by netif_tx_lock, so remove the statement. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/declance.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/declance.c b/drivers/net/declance.c
index 95d854e..b2577f4 100644
--- a/drivers/net/declance.c
+++ b/drivers/net/declance.c
@@ -932,8 +932,6 @@ static int lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
/* Kick the lance: transmit now */
writereg(&ll->rdp, LE_C0_INEA | LE_C0_TDMD);
- spin_unlock_irq(&lp->lock);
-
dev->trans_start = jiffies;
dev_kfree_skb(skb);