staging: r8188eu: remove ODM_RT_TRACE calls from hal/odm_HWConfig.c
authorPhillip Potter <phil@philpotter.co.uk>
Sat, 31 Jul 2021 00:39:31 +0000 (01:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Jul 2021 07:22:30 +0000 (09:22 +0200)
Remove ODM_RT_TRACE calls from hal/odm_HWConfig.c, as by removing these
calls in this file and others, we can ultimately then remove the macro
definition itself, which does not follow best practice.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210731003937.68615-9-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/odm_HWConfig.c

index 93a91cce21ec008711549946c2607138fa7ba5b1..5f29535590cd26b9b17b746d8defe8a47bfadae3 100644 (file)
@@ -535,15 +535,11 @@ enum HAL_STATUS ODM_ConfigRFWithHeaderFile(struct odm_dm_struct *dm_odm,
                                           enum rf_radio_path content,
                                           enum rf_radio_path rfpath)
 {
-       ODM_RT_TRACE(dm_odm, ODM_COMP_INIT, ODM_DBG_LOUD, ("===>ODM_ConfigRFWithHeaderFile\n"));
        if (dm_odm->SupportICType == ODM_RTL8188E) {
                if (rfpath == RF_PATH_A)
                        READ_AND_CONFIG(8188E, _RadioA_1T_);
-               ODM_RT_TRACE(dm_odm, ODM_COMP_INIT, ODM_DBG_LOUD, (" ===> ODM_ConfigRFWithHeaderFile() Radio_A:Rtl8188ERadioA_1TArray\n"));
-               ODM_RT_TRACE(dm_odm, ODM_COMP_INIT, ODM_DBG_LOUD, (" ===> ODM_ConfigRFWithHeaderFile() Radio_B:Rtl8188ERadioB_1TArray\n"));
        }
 
-       ODM_RT_TRACE(dm_odm, ODM_COMP_INIT, ODM_DBG_TRACE, ("ODM_ConfigRFWithHeaderFile: Radio No %x\n", rfpath));
        return HAL_STATUS_SUCCESS;
 }
 
@@ -557,8 +553,6 @@ enum HAL_STATUS ODM_ConfigBBWithHeaderFile(struct odm_dm_struct *dm_odm,
                        READ_AND_CONFIG(8188E, _AGC_TAB_1T_);
                } else if (config_tp == CONFIG_BB_PHY_REG_PG) {
                        READ_AND_CONFIG(8188E, _PHY_REG_PG_);
-                       ODM_RT_TRACE(dm_odm, ODM_COMP_INIT, ODM_DBG_LOUD,
-                                    (" ===> phy_ConfigBBWithHeaderFile() agc:Rtl8188EPHY_REG_PGArray\n"));
                }
        }
        return HAL_STATUS_SUCCESS;