projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee983ac
)
axnet_cs: remove unnecessary spin_unlock_irqrestore
author
Ken Kawasaki
<ken_kawasaki@spring.nifty.jp>
Mon, 28 Dec 2009 15:17:24 +0000
(15:17 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 4 Jan 2010 05:52:44 +0000
(21:52 -0800)
axnet_cs:
remove unnecessary spin_unlock_irqrestore,spin_lock_irqsave.
Signed-off-by: Ken Kawasaki <ken_kawasaki@spring.nifty.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcmcia/axnet_cs.c
patch
|
blob
|
history
diff --git
a/drivers/net/pcmcia/axnet_cs.c
b/drivers/net/pcmcia/axnet_cs.c
index d431b59e7d11bda7b203a96cec3217570344eade..2ee57bd52a019152323be86c76ae8bf6cefc44c1 100644
(file)
--- a/
drivers/net/pcmcia/axnet_cs.c
+++ b/
drivers/net/pcmcia/axnet_cs.c
@@
-1065,14
+1065,11
@@
static netdev_tx_t axnet_start_xmit(struct sk_buff *skb,
spin_lock_irqsave(&ei_local->page_lock, flags);
outb_p(0x00, e8390_base + EN0_IMR);
- spin_unlock_irqrestore(&ei_local->page_lock, flags);
/*
* Slow phase with lock held.
*/
- spin_lock_irqsave(&ei_local->page_lock, flags);
-
ei_local->irqlock = 1;
send_length = max(length, ETH_ZLEN);