summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/main_usb.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-07-24 21:13:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-24 15:09:58 -0700
commitb679ad2fdb4b306009c60712c9ac0dff8e149ecb (patch)
tree5b67c3563b606b270b91c81dd46c3a261819365c /drivers/staging/vt6656/main_usb.c
parentd83ba4a1f39595ca216c2587e0909eff751c55eb (diff)
staging: vt6656: Remove flags fMP_POST_READS and fMP_POST_WRITES
MP_IS_READY(fMP_DISCONNECTED) is used to block thread in vnt_tx_context Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/main_usb.c')
-rw-r--r--drivers/staging/vt6656/main_usb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index b99def77c44a..f887bc07f82a 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -552,8 +552,6 @@ static int vnt_start(struct ieee80211_hw *hw)
}
MP_CLEAR_FLAG(priv, fMP_DISCONNECTED);
- MP_SET_FLAG(priv, fMP_POST_READS);
- MP_SET_FLAG(priv, fMP_POST_WRITES);
if (device_init_registers(priv) == false) {
dev_dbg(&priv->usb->dev, " init register fail\n");
@@ -601,8 +599,6 @@ static void vnt_stop(struct ieee80211_hw *hw)
ieee80211_stop_queues(hw);
MP_SET_FLAG(priv, fMP_DISCONNECTED);
- MP_CLEAR_FLAG(priv, fMP_POST_WRITES);
- MP_CLEAR_FLAG(priv, fMP_POST_READS);
cancel_delayed_work_sync(&priv->run_command_work);