staging: rtl8723bs: remove unnecessary logging in hal/HalBtcOutSrc.h
authorFabio Aiuto <fabioaiuto83@gmail.com>
Thu, 18 Mar 2021 15:26:01 +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
126: FILE: drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h:126:
+ DbgPrint("%s(): ", __func__);\

and remove the whole unused containing macro BTC_PRINT_F

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

index b49dee8..10c0210 100644 (file)
@@ -120,14 +120,6 @@ extern u32                 GLBtcDbgType[];
                DbgPrint printstr;\
 }
 
-#define BTC_PRINT_F(dbgtype, dbgflag, printstr)\
-{\
-       if (GLBtcDbgType[dbgtype] & dbgflag) {\
-               DbgPrint("%s(): ", __func__);\
-               DbgPrint printstr;\
-       } \
-}
-
 #define BTC_PRINT_ADDR(dbgtype, dbgflag, printstr, _Ptr)\
 {\
        if (GLBtcDbgType[dbgtype] & dbgflag) {\