From 9ce42bc33fd4a93f129822c07a019608f9b1eeda Mon Sep 17 00:00:00 2001 From: Fabio Aiuto Date: Sat, 24 Apr 2021 11:01:57 +0200 Subject: [PATCH] staging: rtl8723bs: remove debug macros related to core/rtw_xmit.c tracing remove debug macros definitions related to core/rtw_xmit.c obsolete tracing. Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/fd7f02bee9b97bf4222931710092a54892825a3a.1619254603.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723bs/core/rtw_xmit.c | 2 -- drivers/staging/rtl8723bs/include/rtw_debug.h | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c index bd3acdd..03d036b 100644 --- a/drivers/staging/rtl8723bs/core/rtw_xmit.c +++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c @@ -4,8 +4,6 @@ * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. * ******************************************************************************/ -#define _RTW_XMIT_C_ - #include #include diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/staging/rtl8723bs/include/rtw_debug.h index 8f56d1e..ea4d346 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_xmit_c_ BIT(0) #define _module_xmit_osdep_c_ BIT(1) #define _module_rtl871x_recv_c_ BIT(2) #define _module_recv_osdep_c_ BIT(3) @@ -43,9 +42,7 @@ #undef _MODULE_DEFINE_ -#if defined _RTW_XMIT_C_ - #define _MODULE_DEFINE_ _module_rtl871x_xmit_c_ -#elif defined _XMIT_OSDEP_C_ +#if defined _XMIT_OSDEP_C_ #define _MODULE_DEFINE_ _module_xmit_osdep_c_ #elif defined _RTW_RECV_C_ #define _MODULE_DEFINE_ _module_rtl871x_recv_c_ -- 2.7.4