diff options
author | Ken Kawasaki <ken_kawasaki@spring.nifty.jp> | 2009-12-28 10:17:24 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-04 00:52:44 -0500 |
commit | ceba0b29e002e6151b6b5ead8db9c664b58d8d21 (patch) | |
tree | 72b05dd8d1764e86a938ced330c6cbff84dfb2ae /drivers/net/pcmcia | |
parent | ee983ac76865797a5553597a9412c835c2710f51 (diff) |
axnet_cs: remove unnecessary spin_unlock_irqrestore
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>
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/axnet_cs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c index d431b59e7d11..2ee57bd52a01 100644 --- 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, | |||
1065 | 1065 | ||
1066 | spin_lock_irqsave(&ei_local->page_lock, flags); | 1066 | spin_lock_irqsave(&ei_local->page_lock, flags); |
1067 | outb_p(0x00, e8390_base + EN0_IMR); | 1067 | outb_p(0x00, e8390_base + EN0_IMR); |
1068 | spin_unlock_irqrestore(&ei_local->page_lock, flags); | ||
1069 | 1068 | ||
1070 | /* | 1069 | /* |
1071 | * Slow phase with lock held. | 1070 | * Slow phase with lock held. |
1072 | */ | 1071 | */ |
1073 | 1072 | ||
1074 | spin_lock_irqsave(&ei_local->page_lock, flags); | ||
1075 | |||
1076 | ei_local->irqlock = 1; | 1073 | ei_local->irqlock = 1; |
1077 | 1074 | ||
1078 | send_length = max(length, ETH_ZLEN); | 1075 | send_length = max(length, ETH_ZLEN); |