summaryrefslogtreecommitdiffstats
path: root/drivers/net/dl2k.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2008-06-27 02:20:20 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-06-28 10:23:38 -0400
commitbe0976be9148f31ee0d1997354c3e30ff8d07587 (patch)
tree18792bffd7130b7c3894c64992f60e388e111141 /drivers/net/dl2k.c
parent28cd4289abc2c8db90344ee4ff064a9bdf086fdf (diff)
downloadblackbird-op-linux-be0976be9148f31ee0d1997354c3e30ff8d07587.tar.gz
blackbird-op-linux-be0976be9148f31ee0d1997354c3e30ff8d07587.zip
[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/dl2k.c')
-rw-r--r--drivers/net/dl2k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c
index 8277e89e552d..f8037110a522 100644
--- a/drivers/net/dl2k.c
+++ b/drivers/net/dl2k.c
@@ -1753,7 +1753,7 @@ rio_close (struct net_device *dev)
/* Stop Tx and Rx logics */
writel (TxDisable | RxDisable | StatsDisable, ioaddr + MACCtrl);
- synchronize_irq (dev->irq);
+
free_irq (dev->irq, dev);
del_timer_sync (&np->timer);
OpenPOWER on IntegriCloud