From: Fabio Aiuto Date: Sat, 24 Apr 2021 09:01:58 +0000 (+0200) Subject: staging: rtl8723bs: remove debug macros related to os_dep/xmit_linux.c tracing X-Git-Tag: v5.15~790^2~430 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54f8a6ab76d7b3d45a68c053431e626cc7efc4ed;p=platform%2Fkernel%2Flinux-starfive.git staging: rtl8723bs: remove debug macros related to os_dep/xmit_linux.c tracing remove debug macros definitions related to os_dep/xmit_linux.c obsolete tracing. Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/ab5984670fac9e534b08ae043ddb7cd63ce60450.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 ea4d346..6403a11 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_xmit_osdep_c_ BIT(1) #define _module_rtl871x_recv_c_ BIT(2) #define _module_recv_osdep_c_ BIT(3) #define _module_rtl871x_mlme_c_ BIT(4) @@ -42,9 +41,7 @@ #undef _MODULE_DEFINE_ -#if defined _XMIT_OSDEP_C_ - #define _MODULE_DEFINE_ _module_xmit_osdep_c_ -#elif defined _RTW_RECV_C_ +#if defined _RTW_RECV_C_ #define _MODULE_DEFINE_ _module_rtl871x_recv_c_ #elif defined _RECV_OSDEP_C_ #define _MODULE_DEFINE_ _module_recv_osdep_c_ diff --git a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c index 639408e..6b039c1 100644 --- a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c @@ -4,8 +4,6 @@ * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. * ******************************************************************************/ -#define _XMIT_OSDEP_C_ - #include #include