diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-06-27 10:20:20 +0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-28 18:23:38 +0400 |
commit | be0976be9148f31ee0d1997354c3e30ff8d07587 (patch) | |
tree | 18792bffd7130b7c3894c64992f60e388e111141 /drivers/net/8139too.c | |
parent | 28cd4289abc2c8db90344ee4ff064a9bdf086fdf (diff) | |
download | linux-be0976be9148f31ee0d1997354c3e30ff8d07587.tar.xz |
[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/8139too.c')
-rw-r--r-- | drivers/net/8139too.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c index 0cd8e258f882..75317a14ad1c 100644 --- a/drivers/net/8139too.c +++ b/drivers/net/8139too.c @@ -2231,7 +2231,6 @@ static int rtl8139_close (struct net_device *dev) spin_unlock_irqrestore (&tp->lock, flags); - synchronize_irq (dev->irq); /* racy, but that's ok here */ free_irq (dev->irq, dev); rtl8139_tx_clear (tp); |