From: Fabio Aiuto Date: Sat, 24 Apr 2021 09:02:15 +0000 (+0200) Subject: staging: rtl8723bs: remove unused debug macros tied to _RTL871X_IOCTL_C_ definition X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ebb0a22ea4be838a32727cded1f7b23c3e5d256c;p=linux.git staging: rtl8723bs: remove unused debug macros tied to _RTL871X_IOCTL_C_ definition remove unused private debug macros tied to _RTL871X_IOCTL_C_ definition. Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/216def2b5e244490debe86aafdc23cabc32f3c1e.1619254603.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/staging/rtl8723bs/include/rtw_debug.h index 4146acb1cbb23..501155c8c9cfe 100644 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ b/drivers/staging/rtl8723bs/include/rtw_debug.h @@ -7,7 +7,6 @@ #ifndef __RTW_DEBUG_H__ #define __RTW_DEBUG_H__ -#define _module_rtl871x_ioctl_c_ BIT(16) #define _module_rtl871x_ioctl_set_c_ BIT(17) #define _module_rtl871x_ioctl_query_c_ BIT(18) #define _module_rtl871x_pwrctrl_c_ BIT(19) @@ -27,9 +26,7 @@ #undef _MODULE_DEFINE_ -#if defined _RTL871X_IOCTL_C_ - #define _MODULE_DEFINE_ _module_rtl871x_ioctl_c_ -#elif defined _RTL871X_IOCTL_SET_C_ +#if defined _RTL871X_IOCTL_SET_C_ #define _MODULE_DEFINE_ _module_rtl871x_ioctl_set_c_ #elif defined _RTL871X_IOCTL_QUERY_C_ #define _MODULE_DEFINE_ _module_rtl871x_ioctl_query_c_