[PATCH 2/6] staging: rtl8723au: Eliminate dummy ccxPowerIndexCheck()

Jes.Sorensen at redhat.com Jes.Sorensen at redhat.com
Tue Sep 15 20:32:45 UTC 2015


From: Jes Sorensen <Jes.Sorensen at redhat.com>

Signed-off-by: Jes Sorensen <Jes.Sorensen at 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



More information about the devel mailing list