staging: vt6656: struct vnt_private remove unused variable bRadioOff

The variable flips from true to false but does nothing

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2014-07-18 23:00:53 +01:00 committed by Greg Kroah-Hartman
parent dc5cfd9be6
commit 409bc044a4
2 changed files with 0 additions and 6 deletions

View File

@ -734,8 +734,6 @@ int vnt_radio_power_off(struct vnt_private *priv)
{
int ret = true;
priv->bRadioOff = true;
switch (priv->byRFType) {
case RF_AL2230:
case RF_AL2230S:
@ -774,8 +772,6 @@ int vnt_radio_power_on(struct vnt_private *priv)
if (priv->bHWRadioOff == true)
return false;
priv->bRadioOff = false;
vnt_exit_deep_sleep(priv);
vnt_mac_reg_bits_on(priv, MAC_REG_HOSTCR, HOSTCR_RXON);

View File

@ -368,8 +368,6 @@ struct vnt_private {
int bShortSlotTime;
int bBarkerPreambleMd;
int bRadioOff;
/* Power save */
u16 current_aid;