From: Jes Sorensen <jes.soren...@redhat.com>

Signed-off-by: Jes Sorensen <jes.soren...@redhat.com>
---
 drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c 
b/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c
index 7fa9780..8764538 100644
--- a/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c
+++ b/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c
@@ -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);
 }
-- 
2.1.0

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to