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:
3e1657c
)
declance: Remove a dangling spin_unlock_irq() thingy
author
Maciej W. Rozycki
<
[email protected]
>
Mon, 21 May 2007 13:33:21 +0000
(14:33 +0100)
committer
Jeff Garzik
<
[email protected]
>
Mon, 21 May 2007 23:41:19 +0000
(19:41 -0400)
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 <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/net/declance.c
patch
|
blob
|
history
diff --git
a/drivers/net/declance.c
b/drivers/net/declance.c
index 95d854e2295c2db383b5de251caab6a375f52772..b2577f40124e3917e40c094f40a559eb8b5965d8 100644
(file)
--- 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);