Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1e9a4ea authored by Maciej W. Rozycki's avatar Maciej W. Rozycki Committed by Jeff Garzik
Browse files

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: default avatarMaciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 3e1657c8
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -932,8 +932,6 @@ static int lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
	/* Kick the lance: transmit now */
	/* Kick the lance: transmit now */
	writereg(&ll->rdp, LE_C0_INEA | LE_C0_TDMD);
	writereg(&ll->rdp, LE_C0_INEA | LE_C0_TDMD);


	spin_unlock_irq(&lp->lock);

	dev->trans_start = jiffies;
	dev->trans_start = jiffies;
	dev_kfree_skb(skb);
	dev_kfree_skb(skb);