]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
staging: rtl8723bs: remove all MSG_8192C logs
authorFabio Aiuto <fabioaiuto83@gmail.com>
Fri, 9 Apr 2021 12:40:01 +0000 (14:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Apr 2021 14:19:50 +0000 (16:19 +0200)
remove all MSG_8192C logs.

MSG_8192C is a private trace mechanism macro and is deactivated.
(i.e. the default behaviour is _do nothing_)
The only way to activate it is to manually define a debug
symbol.

So just remove it.

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/fa7f52aa90928dc86b3249ca9c5b27f92c2b071b.1617971592.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
drivers/staging/rtl8723bs/hal/sdio_halinit.c

index e31ad3feed62a98092084b5bb465fe71feadcd67..dcb7cb1314322eb03e04a773f6c9283e54bfb509 100644 (file)
@@ -1787,8 +1787,6 @@ static struct hal_version ReadChipVersion8723B(struct adapter *padapter)
        else
                pHalData->rf_type = RF_1T1R;
 
-       MSG_8192C("RF_Type is %x!!\n", pHalData->rf_type);
-
        return ChipVersion;
 }
 
@@ -2139,8 +2137,6 @@ u8 GetEEPROMSize8723B(struct adapter *padapter)
        /*  6: EEPROM used is 93C46, 4: boot from E-Fuse. */
        size = (cr & BOOT_FROM_EEPROM) ? 6 : 4;
 
-       MSG_8192C("EEPROM type is %s\n", size == 4 ? "E-FUSE" : "93C46");
-
        return size;
 }
 
index 0251ddafe605fcb59b83c4d2cac9772570c09f6e..989f6974c817ad9d319851be93cb7f3cf5194f23 100644 (file)
@@ -1175,7 +1175,6 @@ static s32 _ReadAdapterInfo8723BS(struct adapter *padapter)
 
 
        val8 = rtw_read8(padapter, 0x4e);
-       MSG_8192C("%s, 0x4e = 0x%x\n", __func__, val8);
        val8 |= BIT(6);
        rtw_write8(padapter, 0x4e, val8);
 
@@ -1192,9 +1191,6 @@ static s32 _ReadAdapterInfo8723BS(struct adapter *padapter)
                CardDisableRTL8723BSdio(padapter);/* for the power consumption issue,  wifi ko module is loaded during booting, but wifi GUI is off */
        }
 
-
-       MSG_8192C("<==== _ReadAdapterInfo8723BS in %d ms\n", jiffies_to_msecs(jiffies - start));
-
        return _SUCCESS;
 }