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

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

index e1a8f8b..75db427 100644 (file)
@@ -4,8 +4,6 @@
  * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
  *
  ******************************************************************************/
-#define _RTW_CMD_C_
-
 #include <drv_types.h>
 #include <rtw_debug.h>
 #include <hal_btcoex.h>
index 76756f6..bb56d38 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef __RTW_DEBUG_H__
 #define __RTW_DEBUG_H__
 
-#define _module_rtl871x_cmd_c_                 BIT(7)
 #define _module_cmd_osdep_c_           BIT(8)
 #define _module_rtl871x_io_c_                          BIT(9)
 #define _module_io_osdep_c_            BIT(10)
@@ -36,9 +35,7 @@
 
 #undef _MODULE_DEFINE_
 
-#if defined _RTW_CMD_C_
-       #define _MODULE_DEFINE_ _module_rtl871x_cmd_c_
-#elif defined _CMD_OSDEP_C_
+#if defined _CMD_OSDEP_C_
        #define _MODULE_DEFINE_ _module_cmd_osdep_c_
 #elif defined _RTW_IO_C_
        #define _MODULE_DEFINE_ _module_rtl871x_io_c_