From: Alexander Beregalov Date: Tue, 25 Aug 2009 13:25:44 +0000 (+0400) Subject: Staging: agnx: remove flush_workqueue() X-Git-Tag: MMI-PSA29.97-13-9~26941^2~42 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=252a1b9162b6dbac7324854eb4137404932b574d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: agnx: remove flush_workqueue() mac80211 already does flush_workqueue() at stop/start and suspend\resume. (fix build error) Signed-off-by: Alexander Beregalov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/agnx/pci.c b/drivers/staging/agnx/pci.c index 1fe987065257..32b5489456a8 100644 --- a/drivers/staging/agnx/pci.c +++ b/drivers/staging/agnx/pci.c @@ -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);