staging: rtl8723bs: remove unnecessary logging in hal/odm.c
authorFabio Aiuto <fabioaiuto83@gmail.com>
Thu, 18 Mar 2021 15:26:03 +0000 (16:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Mar 2021 12:38:21 +0000 (13:38 +0100)
fix the following checkpatch.pl issues:

WARNING: Unnecessary ftrace-like logging - prefer using ftrace
1109: FILE: drivers/staging/rtl8723bs/hal/odm.c:1109:
+ /* printk("==> %s\n", __func__); */

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/20210318152610.16758-9-fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/odm.c

index 931c8ee..49d5521 100644 (file)
@@ -1106,8 +1106,6 @@ void odm_RefreshRateAdaptiveMaskCE(struct dm_odm_t *pDM_Odm)
                return;
        }
 
-       /* printk("==> %s\n", __func__); */
-
        for (i = 0; i < ODM_ASSOCIATE_ENTRY_NUM; i++) {
                PSTA_INFO_T pstat = pDM_Odm->pODM_StaInfo[i];