Commit 409bc044 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: struct vnt_private remove unused variable bRadioOff

The variable flips from true to false but does nothing
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dc5cfd9b
...@@ -734,8 +734,6 @@ int vnt_radio_power_off(struct vnt_private *priv) ...@@ -734,8 +734,6 @@ int vnt_radio_power_off(struct vnt_private *priv)
{ {
int ret = true; int ret = true;
priv->bRadioOff = true;
switch (priv->byRFType) { switch (priv->byRFType) {
case RF_AL2230: case RF_AL2230:
case RF_AL2230S: case RF_AL2230S:
...@@ -774,8 +772,6 @@ int vnt_radio_power_on(struct vnt_private *priv) ...@@ -774,8 +772,6 @@ int vnt_radio_power_on(struct vnt_private *priv)
if (priv->bHWRadioOff == true) if (priv->bHWRadioOff == true)
return false; return false;
priv->bRadioOff = false;
vnt_exit_deep_sleep(priv); vnt_exit_deep_sleep(priv);
vnt_mac_reg_bits_on(priv, MAC_REG_HOSTCR, HOSTCR_RXON); vnt_mac_reg_bits_on(priv, MAC_REG_HOSTCR, HOSTCR_RXON);
......
...@@ -368,8 +368,6 @@ struct vnt_private { ...@@ -368,8 +368,6 @@ struct vnt_private {
int bShortSlotTime; int bShortSlotTime;
int bBarkerPreambleMd; int bBarkerPreambleMd;
int bRadioOff;
/* Power save */ /* Power save */
u16 current_aid; u16 current_aid;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment