mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 14:40:12 -04:00
staging: rtl8723bs: remove commented out DbgPrint logs
remove commented out DbgPrint logs. Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com> Link: https://lore.kernel.org/r/63eb0244a9e25d5633d78b67fd5a0c61cb48d83e.1619794331.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
76c80b8931
commit
2ce75c4f9e
@@ -38,7 +38,6 @@ Efuse_Read1ByteFromFakeContent(
|
||||
{
|
||||
if (Offset >= EFUSE_MAX_HW_SIZE)
|
||||
return false;
|
||||
/* DbgPrint("Read fake content, offset = %d\n", Offset); */
|
||||
if (fakeEfuseBank == 0)
|
||||
*Value = fakeEfuseContent[Offset];
|
||||
else
|
||||
|
||||
@@ -1644,16 +1644,10 @@ static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_n
|
||||
/* Rx Reorder initialize condition. */
|
||||
if (preorder_ctrl->indicate_seq == 0xFFFF) {
|
||||
preorder_ctrl->indicate_seq = seq_num;
|
||||
|
||||
/* DbgPrint("check_indicate_seq, 1st->indicate_seq =%d\n", precvpriv->indicate_seq); */
|
||||
}
|
||||
|
||||
/* DbgPrint("enter->check_indicate_seq(): IndicateSeq: %d, NewSeq: %d\n", precvpriv->indicate_seq, seq_num); */
|
||||
|
||||
/* Drop out the packet which SeqNum is smaller than WinStart */
|
||||
if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) {
|
||||
/* DbgPrint("CheckRxTsIndicateSeq(): Packet Drop! IndicateSeq: %d, NewSeq: %d\n", precvpriv->indicate_seq, seq_num); */
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1666,8 +1660,6 @@ static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_n
|
||||
preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + 1) & 0xFFF;
|
||||
|
||||
} else if (SN_LESS(wend, seq_num)) {
|
||||
/* DbgPrint("CheckRxTsIndicateSeq(): Window Shift! IndicateSeq: %d, NewSeq: %d\n", precvpriv->indicate_seq, seq_num); */
|
||||
|
||||
/* boundary situation, when seq_num cross 0xFFF */
|
||||
if (seq_num >= (wsize - 1))
|
||||
preorder_ctrl->indicate_seq = seq_num + 1 - wsize;
|
||||
@@ -1676,8 +1668,6 @@ static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_n
|
||||
pdbgpriv->dbg_rx_ampdu_window_shift_cnt++;
|
||||
}
|
||||
|
||||
/* DbgPrint("exit->check_indicate_seq(): IndicateSeq: %d, NewSeq: %d\n", precvpriv->indicate_seq, seq_num); */
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1689,8 +1679,6 @@ static int enqueue_reorder_recvframe(struct recv_reorder_ctrl *preorder_ctrl, un
|
||||
union recv_frame *pnextrframe;
|
||||
struct rx_pkt_attrib *pnextattrib;
|
||||
|
||||
/* DbgPrint("+enqueue_reorder_recvframe()\n"); */
|
||||
|
||||
/* spin_lock_irqsave(&ppending_recvframe_queue->lock, irql); */
|
||||
/* spin_lock(&ppending_recvframe_queue->lock); */
|
||||
|
||||
@@ -1711,8 +1699,6 @@ static int enqueue_reorder_recvframe(struct recv_reorder_ctrl *preorder_ctrl, un
|
||||
else
|
||||
break;
|
||||
|
||||
/* DbgPrint("enqueue_reorder_recvframe():while\n"); */
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1751,8 +1737,6 @@ static int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reor
|
||||
struct dvobj_priv *psdpriv = padapter->dvobj;
|
||||
struct debug_priv *pdbgpriv = &psdpriv->drv_dbg;
|
||||
|
||||
/* DbgPrint("+recv_indicatepkts_in_order\n"); */
|
||||
|
||||
/* spin_lock_irqsave(&ppending_recvframe_queue->lock, irql); */
|
||||
/* spin_lock(&ppending_recvframe_queue->lock); */
|
||||
|
||||
@@ -1796,7 +1780,6 @@ static int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reor
|
||||
/* Indicate packets */
|
||||
|
||||
/* indicate this recv_frame */
|
||||
/* DbgPrint("recv_indicatepkts_in_order, indicate_seq =%d, seq_num =%d\n", precvpriv->indicate_seq, pattrib->seq_num); */
|
||||
if (!pattrib->amsdu) {
|
||||
if ((padapter->bDriverStopped == false) &&
|
||||
(padapter->bSurpriseRemoved == false))
|
||||
@@ -1819,8 +1802,6 @@ static int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reor
|
||||
break;
|
||||
}
|
||||
|
||||
/* DbgPrint("recv_indicatepkts_in_order():while\n"); */
|
||||
|
||||
}
|
||||
|
||||
/* spin_unlock(&ppending_recvframe_queue->lock); */
|
||||
@@ -1890,7 +1871,6 @@ static int recv_indicatepkt_reorder(struct adapter *padapter, union recv_frame *
|
||||
|
||||
/* s3. Insert all packet into Reorder Queue to maintain its ordering. */
|
||||
if (!enqueue_reorder_recvframe(preorder_ctrl, prframe)) {
|
||||
/* DbgPrint("recv_indicatepkt_reorder, enqueue_reorder_recvframe fail!\n"); */
|
||||
/* spin_unlock_irqrestore(&ppending_recvframe_queue->lock, irql); */
|
||||
/* return _FAIL; */
|
||||
goto _err_exit;
|
||||
|
||||
@@ -1756,7 +1756,6 @@ static void halbtc8723b2ant_ActionA2dp(struct btc_coexist *pBtCoexist)
|
||||
|
||||
/* define the office environment */
|
||||
if (apNum >= 10 && BTC_RSSI_HIGH(wifiRssiState1)) {
|
||||
/* DbgPrint(" AP#>10(%d)\n", apNum); */
|
||||
pBtCoexist->fBtcSetRfReg(pBtCoexist, BTC_RF_A, 0x1, 0xfffff, 0x0);
|
||||
halbtc8723b2ant_LimitedRx(pBtCoexist, NORMAL_EXEC, false, false, 0x8);
|
||||
halbtc8723b2ant_FwDacSwingLvl(pBtCoexist, NORMAL_EXEC, 6);
|
||||
|
||||
@@ -152,7 +152,6 @@ void odm_SearchPwdBLowerBound(void *pDM_VOID, u8 IGI_target)
|
||||
else
|
||||
pDM_Odm->txEdcca0 = pDM_Odm->txEdcca0 + 1;
|
||||
}
|
||||
/* DbgPrint("txEdcca1 = %d, txEdcca0 = %d\n", pDM_Odm->txEdcca1, pDM_Odm->txEdcca0); */
|
||||
|
||||
if (pDM_Odm->txEdcca1 > 5) {
|
||||
IGI = IGI-1;
|
||||
|
||||
@@ -59,7 +59,6 @@ static u8 odm_EVMdbToPercentage(s8 Value)
|
||||
ret_val = Value;
|
||||
ret_val /= 2;
|
||||
|
||||
/* DbgPrint("Value =%d\n", Value); */
|
||||
/* ODM_RT_DISP(FRX, RX_PHY_SQ, ("EVMdbToPercentage92C Value =%d / %x\n", ret_val, ret_val)); */
|
||||
|
||||
if (ret_val >= 0)
|
||||
@@ -141,7 +140,6 @@ static void odm_RxPhyStatus92CSeries_Parsing(
|
||||
|
||||
}
|
||||
|
||||
/* DbgPrint("cck SQ = %d\n", SQ); */
|
||||
pPhyInfo->signal_quality = SQ;
|
||||
pPhyInfo->rx_mimo_signal_quality[ODM_RF_PATH_A] = SQ;
|
||||
pPhyInfo->rx_mimo_signal_quality[ODM_RF_PATH_B] = -1;
|
||||
@@ -231,9 +229,6 @@ static void odm_RxPhyStatus92CSeries_Parsing(
|
||||
pPhyInfo->signal_strength = (u8)(odm_SignalScaleMapping(pDM_Odm, total_rssi /= rf_rx_num));
|
||||
}
|
||||
}
|
||||
|
||||
/* DbgPrint("isCCKrate = %d, pPhyInfo->rx_pwd_ba11 = %d, pPhyStaRpt->cck_agc_rpt_ofdm_cfosho_a = 0x%x\n", */
|
||||
/* isCCKrate, pPhyInfo->rx_pwd_ba11, pPhyStaRpt->cck_agc_rpt_ofdm_cfosho_a); */
|
||||
}
|
||||
|
||||
static void odm_Process_RSSIForDM(
|
||||
@@ -285,8 +280,6 @@ static void odm_Process_RSSIForDM(
|
||||
pDM_Odm->RSSI_A = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_A];
|
||||
pDM_Odm->RSSI_B = 0;
|
||||
} else {
|
||||
/* DbgPrint("pRfd->Status.rx_mimo_signal_strength[0] = %d, pRfd->Status.rx_mimo_signal_strength[1] = %d\n", */
|
||||
/* pRfd->Status.rx_mimo_signal_strength[0], pRfd->Status.rx_mimo_signal_strength[1]); */
|
||||
pDM_Odm->RSSI_A = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_A];
|
||||
pDM_Odm->RSSI_B = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_B];
|
||||
|
||||
@@ -376,11 +369,6 @@ static void odm_Process_RSSIForDM(
|
||||
pEntry->rssi_stat.UndecoratedSmoothedCCK = UndecoratedSmoothedCCK;
|
||||
pEntry->rssi_stat.UndecoratedSmoothedOFDM = UndecoratedSmoothedOFDM;
|
||||
pEntry->rssi_stat.UndecoratedSmoothedPWDB = UndecoratedSmoothedPWDB;
|
||||
|
||||
/* DbgPrint("OFDM_pkt =%d, Weighting =%d\n", OFDM_pkt, Weighting); */
|
||||
/* DbgPrint("UndecoratedSmoothedOFDM =%d, UndecoratedSmoothedPWDB =%d, UndecoratedSmoothedCCK =%d\n", */
|
||||
/* UndecoratedSmoothedOFDM, UndecoratedSmoothedPWDB, UndecoratedSmoothedCCK); */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -29,7 +29,6 @@ s8 odm_CCKRSSI_8723B(u8 LNA_idx, u8 VGA_idx)
|
||||
break;
|
||||
default:
|
||||
/* rx_pwr_all = -53+(2*(31-VGA_idx)); */
|
||||
/* DbgPrint("wrong LNA index\n"); */
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
@@ -791,8 +791,6 @@ static u32 rtl8723bs_hal_init(struct adapter *padapter)
|
||||
|
||||
rtl8723b_InitHalDm(padapter);
|
||||
|
||||
/* DbgPrint("pHalData->DefaultTxPwrDbm = %d\n", pHalData->DefaultTxPwrDbm); */
|
||||
|
||||
/* */
|
||||
/* Update current Tx FIFO page status. */
|
||||
/* */
|
||||
|
||||
Reference in New Issue
Block a user