Staging: agnx: remove flush_workqueue()
authorAlexander Beregalov <a.beregalov@gmail.com>
Tue, 25 Aug 2009 13:25:44 +0000 (17:25 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:29 +0000 (12:02 -0700)
mac80211 already does flush_workqueue() at stop/start and
suspend\resume.
(fix build error)

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/agnx/pci.c

index 1fe987065257e0c6af77e8cd04a34658832e50e4..32b5489456a8fdb41e7c99c5645b3a7cd00117f6 100644 (file)
@@ -280,7 +280,7 @@ static void agnx_stop(struct ieee80211_hw *dev)
        /* make sure hardware will not generate irq */
        agnx_hw_reset(priv);
        free_irq(priv->pdev->irq, dev);
-       flush_workqueue(priv->hw->workqueue);
+/*     flush_workqueue(priv->hw->workqueue); */
 /*     cancel_delayed_work_sync(&priv->periodic_work); */
        unfill_rings(priv);
        rings_free(priv);