staging: rtl8723bs: remove commented out BTC_PRINT logs
authorFabio Aiuto <fabioaiuto83@gmail.com>
Fri, 30 Apr 2021 14:56:45 +0000 (16:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:37 +0000 (11:19 +0200)
remove commented out BTC_PRINT logs.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/dd6ea6b65cb7db15254ac6ab3fbdfcabb7e66a1a.1619794331.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c

index 911d753e51f6dec89d3d0861c846eeda2d8a36ae..300327f8706c6d9021ea8f0e462bd69222765a28 100644 (file)
@@ -1055,8 +1055,6 @@ static void halbtc8723b1ant_PsTdma(
        s8 nWiFiDurationAdjust = 0x0;
        /* u32          fwVer = 0; */
 
-       /* BTC_PRINT(BTC_MSG_ALGORITHM, ALGO_TRACE_FW, ("[BTCoex], %s turn %s PS TDMA, type =%d\n", */
-       /*      (bForceExec? "force to":""), (bTurnOn? "ON":"OFF"), type)); */
        pCoexDm->bCurPsTdmaOn = bTurnOn;
        pCoexDm->curPsTdma = type;
 
@@ -1423,9 +1421,6 @@ static void halbtc8723b1ant_TdmaDurationAdjustForAcl(
                /* acquire the BT TRx retry count from BT_Info byte2 */
                retryCount = pCoexSta->btRetryCnt;
                btInfoExt = pCoexSta->btInfoExt;
-               /* BTC_PRINT(BTC_MSG_ALGORITHM, ALGO_TRACE_FW_DETAIL, ("[BTCoex], retryCount = %d\n", retryCount)); */
-               /* BTC_PRINT(BTC_MSG_ALGORITHM, ALGO_TRACE_FW_DETAIL, ("[BTCoex], up =%d, dn =%d, m =%d, n =%d, WaitCount =%d\n", */
-               /*      up, dn, m, n, WaitCount)); */
 
                if (pCoexSta->lowPriorityTx > 1050 || pCoexSta->lowPriorityRx > 1250)
                        retryCount++;
@@ -2788,13 +2783,11 @@ void EXhalbtc8723b1ant_ScanNotify(struct btc_coexist *pBtCoexist, u8 type)
        }
 
        if (BTC_SCAN_START == type) {
-               /* BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], SCAN START notify\n")); */
                if (!bWifiConnected)    /*  non-connected scan */
                        halbtc8723b1ant_ActionWifiNotConnectedScan(pBtCoexist);
                else    /*  wifi is connected */
                        halbtc8723b1ant_ActionWifiConnectedScan(pBtCoexist);
        } else if (BTC_SCAN_FINISH == type) {
-               /* BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], SCAN FINISH notify\n")); */
                if (!bWifiConnected)    /*  non-connected scan */
                        halbtc8723b1ant_ActionWifiNotConnected(pBtCoexist);
                else
@@ -2844,11 +2837,8 @@ void EXhalbtc8723b1ant_ConnectNotify(struct btc_coexist *pBtCoexist, u8 type)
        }
 
        if (BTC_ASSOCIATE_START == type) {
-               /* BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], CONNECT START notify\n")); */
                halbtc8723b1ant_ActionWifiNotConnectedAssoAuth(pBtCoexist);
        } else if (BTC_ASSOCIATE_FINISH == type) {
-               /* BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], CONNECT FINISH notify\n")); */
-
                pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_CONNECTED, &bWifiConnected);
                if (!bWifiConnected) /*  non-connected scan */
                        halbtc8723b1ant_ActionWifiNotConnected(pBtCoexist);