staging: rtl8723bs: remove debug macros related to core/rtw_recv.c tracing
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 24 Apr 2021 09:01:59 +0000 (11:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:30 +0000 (11:19 +0200)
remove debug macros definitions related to core/rtw_recv.c
obsolete tracing.

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/5af86d4dea96caf9c84f9ac302ec060edbc2fb65.1619254603.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_recv.c
drivers/staging/rtl8723bs/include/rtw_debug.h

index f15cd7e..3e671cb 100644 (file)
@@ -4,8 +4,6 @@
  * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
  *
  ******************************************************************************/
-#define _RTW_RECV_C_
-
 #include <drv_types.h>
 #include <rtw_debug.h>
 #include <linux/jiffies.h>
index 6403a11..422d6bc 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef __RTW_DEBUG_H__
 #define __RTW_DEBUG_H__
 
-#define _module_rtl871x_recv_c_                BIT(2)
 #define _module_recv_osdep_c_          BIT(3)
 #define _module_rtl871x_mlme_c_                BIT(4)
 #define _module_mlme_osdep_c_          BIT(5)
@@ -41,9 +40,7 @@
 
 #undef _MODULE_DEFINE_
 
-#if defined _RTW_RECV_C_
-       #define _MODULE_DEFINE_ _module_rtl871x_recv_c_
-#elif defined _RECV_OSDEP_C_
+#if defined _RECV_OSDEP_C_
        #define _MODULE_DEFINE_ _module_recv_osdep_c_
 #elif defined _RTW_MLME_C_
        #define _MODULE_DEFINE_ _module_rtl871x_mlme_c_