mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 12:37:32 +00:00
staging: rtl8723bs: remove BTC_PRINT_DATA definitions
remove unused BTC_PRINT_DATA definitions. Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com> Link: https://lore.kernel.org/r/0b83b96133af86e73bed64d7fe35ea96b2940208.1619794331.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1bd9ebfd7d
commit
2875b3bf04
1 changed files with 0 additions and 17 deletions
|
@ -114,25 +114,8 @@ extern u32 GLBtcDbgType[];
|
|||
|
||||
/* The following is for dbgview print */
|
||||
#if DBG
|
||||
#define BTC_PRINT_DATA(dbgtype, dbgflag, _TitleString, _HexData, _HexDataLen)\
|
||||
{\
|
||||
if (GLBtcDbgType[dbgtype] & dbgflag) {\
|
||||
int __i;\
|
||||
u8 *ptr = (u8 *)_HexData;\
|
||||
DbgPrint(_TitleString);\
|
||||
for (__i = 0; __i < (int)_HexDataLen; __i++) {\
|
||||
DbgPrint("%02X%s", ptr[__i], (((__i + 1) % 4) == 0) ? " " : " ");\
|
||||
if (((__i + 1) % 16) == 0)\
|
||||
DbgPrint("\n");\
|
||||
} \
|
||||
DbgPrint("\n");\
|
||||
} \
|
||||
}
|
||||
|
||||
#else
|
||||
#define BTC_PRINT_F(dbgtype, dbgflag, printstr) no_printk printstr
|
||||
#define BTC_PRINT_DATA(dbgtype, dbgflag, _TitleString, _HexData, _HexDataLen) \
|
||||
no_printk("%s %p %zu", _TitleString, _HexData, _HexDataLen)
|
||||
#endif
|
||||
|
||||
struct btc_board_info {
|
||||
|
|
Loading…
Reference in a new issue