diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-07-24 20:13:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-24 22:09:58 (GMT) |
commit | 23e7c47dfce777435a083d4152954df02b4c347d (patch) | |
tree | bb229ff76b3624cc7c0b6632d25caed2abcc689b | |
parent | f370872f7260073c9067d9b3e490bec0ba2af111 (diff) | |
download | linux-23e7c47dfce777435a083d4152954df02b4c347d.tar.xz |
staging: vt6656: Remove unsed macro DEVICE_FLAGS_OPENED
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6656/device.h | 3 | ||||
-rw-r--r-- | drivers/staging/vt6656/main_usb.c | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 58fbaab..ac4c748 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -264,9 +264,6 @@ enum { /* flags for options */ #define DEVICE_FLAGS_UNPLUG 0x00000001UL -/* flags for driver status */ -#define DEVICE_FLAGS_OPENED 0x00010000UL - struct vnt_private { /* mac80211 */ struct ieee80211_hw *hw; diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index f887bc0..3cfbd31 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -562,8 +562,6 @@ static int vnt_start(struct ieee80211_hw *hw) vnt_int_start_interrupt(priv); - priv->flags |= DEVICE_FLAGS_OPENED; - ieee80211_wake_queues(hw); return 0; @@ -604,8 +602,6 @@ static void vnt_stop(struct ieee80211_hw *hw) priv->cmd_running = false; - priv->flags &= ~DEVICE_FLAGS_OPENED; - device_free_tx_bufs(priv); device_free_rx_bufs(priv); device_free_int_bufs(priv); |