staging: rtl8723au: Eliminate dummy ccxPowerIndexCheck()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jes Sorensen 2015-09-15 16:32:45 -04:00 committed by Greg Kroah-Hartman
parent 96a98aa1fc
commit 8b9283234e

View File

@ -773,11 +773,6 @@ static void getTxPowerIndex(struct rtw_adapter *Adapter,
}
}
static void ccxPowerIndexCheck(struct rtw_adapter *Adapter, u8 channel,
u8 *cckPowerLevel, u8 *ofdmPowerLevel)
{
}
/*-----------------------------------------------------------------------------
* Function: SetTxPowerLevel8723A()
*
@ -803,9 +798,6 @@ void PHY_SetTxPowerLevel8723A(struct rtw_adapter *Adapter, u8 channel)
getTxPowerIndex(Adapter, channel, &cckPowerLevel[0],
&ofdmPowerLevel[0]);
ccxPowerIndexCheck(Adapter, channel, &cckPowerLevel[0],
&ofdmPowerLevel[0]);
rtl823a_phy_rf6052setccktxpower(Adapter, &cckPowerLevel[0]);
rtl8723a_PHY_RF6052SetOFDMTxPower(Adapter, &ofdmPowerLevel[0], channel);
}