mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
staging: rtl8723bs: remove commented out *RT_DISP logs
remove commented out ODM_RT_DISP and RT_DISP logs. Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com> Link: https://lore.kernel.org/r/23b7764fc40e1b201952be79e94e0782cf33d546.1619794331.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
367fce0d9e
commit
3a96d356b9
2 changed files with 0 additions and 9 deletions
|
@ -59,8 +59,6 @@ static u8 odm_EVMdbToPercentage(s8 Value)
|
|||
ret_val = Value;
|
||||
ret_val /= 2;
|
||||
|
||||
/* ODM_RT_DISP(FRX, RX_PHY_SQ, ("EVMdbToPercentage92C Value =%d / %x\n", ret_val, ret_val)); */
|
||||
|
||||
if (ret_val >= 0)
|
||||
ret_val = 0;
|
||||
if (ret_val <= -33)
|
||||
|
@ -166,7 +164,6 @@ static void odm_RxPhyStatus92CSeries_Parsing(
|
|||
/* Translate DBM to percentage. */
|
||||
RSSI = odm_QueryRxPwrPercentage(rx_pwr[i]);
|
||||
total_rssi += RSSI;
|
||||
/* RT_DISP(FRX, RX_PHY_SS, ("RF-%d RXPWR =%x RSSI =%d\n", i, rx_pwr[i], RSSI)); */
|
||||
|
||||
pPhyInfo->rx_mimo_signal_strength[i] = (u8) RSSI;
|
||||
|
||||
|
@ -181,7 +178,6 @@ static void odm_RxPhyStatus92CSeries_Parsing(
|
|||
rx_pwr_all = (((pPhyStaRpt->cck_sig_qual_ofdm_pwdb_all) >> 1)&0x7f)-110;
|
||||
|
||||
PWDB_ALL_BT = PWDB_ALL = odm_QueryRxPwrPercentage(rx_pwr_all);
|
||||
/* RT_DISP(FRX, RX_PHY_SS, ("PWDB_ALL =%d\n", PWDB_ALL)); */
|
||||
|
||||
pPhyInfo->rx_pwd_ba11 = PWDB_ALL;
|
||||
pPhyInfo->bt_rx_rssi_percentage = PWDB_ALL_BT;
|
||||
|
@ -203,9 +199,6 @@ static void odm_RxPhyStatus92CSeries_Parsing(
|
|||
/* value to positive one, then the dbm value (which is supposed to be negative) is not correct anymore. */
|
||||
EVM = odm_EVMdbToPercentage((pPhyStaRpt->stream_rxevm[i])); /* dbm */
|
||||
|
||||
/* RT_DISP(FRX, RX_PHY_SQ, ("RXRATE =%x RXEVM =%x EVM =%s%d\n", */
|
||||
/* GET_RX_STATUS_DESC_RX_MCS(pDesc), pDrvInfo->rxevm[i], "%", EVM)); */
|
||||
|
||||
/* if (pPktinfo->bPacketMatchBSSID) */
|
||||
{
|
||||
if (i == ODM_RF_PATH_A) /* Fill value in RFD, Get the first spatial stream only */
|
||||
|
|
|
@ -1148,10 +1148,8 @@ static u16 hal_EfuseGetCurrentSize_BT(struct adapter *padapter, u8 bPseudoTest)
|
|||
retU2 = ((bank-1)*EFUSE_BT_REAL_BANK_CONTENT_LEN)+efuse_addr;
|
||||
if (bPseudoTest) {
|
||||
pEfuseHal->fakeBTEfuseUsedBytes = retU2;
|
||||
/* RT_DISP(FEEPROM, EFUSE_PG, ("Hal_EfuseGetCurrentSize_BT92C(), already use %u bytes\n", pEfuseHal->fakeBTEfuseUsedBytes)); */
|
||||
} else {
|
||||
pEfuseHal->BTEfuseUsedBytes = retU2;
|
||||
/* RT_DISP(FEEPROM, EFUSE_PG, ("Hal_EfuseGetCurrentSize_BT92C(), already use %u bytes\n", pEfuseHal->BTEfuseUsedBytes)); */
|
||||
}
|
||||
|
||||
return retU2;
|
||||
|
|
Loading…
Reference in a new issue