ar9170: remove unneeded flush_workqueue()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 27 Jul 2009 19:51:37 +0000 (12:51 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:43:20 +0000 (16:43 -0400)
commite351cfbf4e6ccd8bf32555748a49dba5bc93fcb0
tree12eaa166fc532dbb2aff4a5f6e84c266dec18422
parent9ed21d390166ceb89e011d3dbd277475ff2f33c4
ar9170: remove unneeded flush_workqueue()

cancel_delayed_work_sync() and cancel_work_sync() are already being
used therefore already waiting for all pending work by the driver
to have been completed, no need to flush the mac80211 workqueue.

Cc: Christian Lamparter <chunkeey@web.de>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar9170/main.c