[netdrvr] kill sync_irq-before-freq_irq pattern
synchronize_irq() is superfluous when free_irq() call immediately follows it, because free_irq() also does a synchronize_irq() call of its own. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
@@ -1437,7 +1437,6 @@ static int tsi108_close(struct net_device *dev)
|
||||
dev_kfree_skb(skb);
|
||||
}
|
||||
|
||||
synchronize_irq(data->irq_num);
|
||||
free_irq(data->irq_num, dev);
|
||||
|
||||
/* Discard the RX ring. */
|
||||
|
Reference in New Issue
Block a user