diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-06-27 02:20:20 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-28 10:23:38 -0400 |
commit | be0976be9148f31ee0d1997354c3e30ff8d07587 (patch) | |
tree | 18792bffd7130b7c3894c64992f60e388e111141 /drivers/net/tsi108_eth.c | |
parent | 28cd4289abc2c8db90344ee4ff064a9bdf086fdf (diff) |
[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>
Diffstat (limited to 'drivers/net/tsi108_eth.c')
-rw-r--r-- | drivers/net/tsi108_eth.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tsi108_eth.c b/drivers/net/tsi108_eth.c index febfaee44fe9..43fde99b24ac 100644 --- a/drivers/net/tsi108_eth.c +++ b/drivers/net/tsi108_eth.c | |||
@@ -1437,7 +1437,6 @@ static int tsi108_close(struct net_device *dev) | |||
1437 | dev_kfree_skb(skb); | 1437 | dev_kfree_skb(skb); |
1438 | } | 1438 | } |
1439 | 1439 | ||
1440 | synchronize_irq(data->irq_num); | ||
1441 | free_irq(data->irq_num, dev); | 1440 | free_irq(data->irq_num, dev); |
1442 | 1441 | ||
1443 | /* Discard the RX ring. */ | 1442 | /* Discard the RX ring. */ |