Skip to content

Commit

Permalink
declance: Remove a dangling spin_unlock_irq() thingy
Browse files Browse the repository at this point in the history
 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>
  • Loading branch information
Maciej W. Rozycki authored and Jeff Garzik committed May 21, 2007
1 parent 3e1657c commit f1e9a4e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/declance.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f1e9a4e

Please sign in to comment.