staging: rtl8723bs: remove BTC_PRINT macro definitions
remove unused BTC_PRINT macro definitions. Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com> Link: https://lore.kernel.org/r/0f0129063880553001a2c1d8272d10079abc7132.1619794331.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f003ab00a5
commit
698a405f08
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user