From: Fabio Aiuto Date: Fri, 30 Apr 2021 14:56:46 +0000 (+0200) Subject: staging: rtl8723bs: remove BTC_PRINT macro definitions X-Git-Tag: howlett/maple/20220722_2~2811^2~355 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=698a405f08e6adff8815d8bb8876c6c1ca339122;p=users%2Fjedix%2Flinux-maple.git staging: rtl8723bs: remove BTC_PRINT macro definitions remove unused BTC_PRINT macro definitions. Reviewed-by: Dan Carpenter Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/0f0129063880553001a2c1d8272d10079abc7132.1619794331.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h index 7b2d94a33d9cd..ad19ffc2de57f 100644 --- a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h +++ b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h @@ -114,12 +114,6 @@ extern u32 GLBtcDbgType[]; /* The following is for dbgview print */ #if DBG -#define BTC_PRINT(dbgtype, dbgflag, printstr)\ -{\ - if (GLBtcDbgType[dbgtype] & dbgflag)\ - DbgPrint printstr;\ -} - #define BTC_PRINT_ADDR(dbgtype, dbgflag, printstr, _Ptr)\ {\ if (GLBtcDbgType[dbgtype] & dbgflag) {\ @@ -149,7 +143,6 @@ extern u32 GLBtcDbgType[]; } #else -#define BTC_PRINT(dbgtype, dbgflag, printstr) no_printk printstr #define BTC_PRINT_F(dbgtype, dbgflag, printstr) no_printk printstr #define BTC_PRINT_ADDR(dbgtype, dbgflag, printstr, _Ptr) no_printk printstr #define BTC_PRINT_DATA(dbgtype, dbgflag, _TitleString, _HexData, _HexDataLen) \