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

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

index 804168a..e4f3049 100644 (file)
@@ -4,8 +4,6 @@
  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
  *
  ******************************************************************************/
-#define  _RTW_SECURITY_C_
-
 #include <linux/crc32poly.h>
 #include <drv_types.h>
 #include <rtw_debug.h>
index f7c2d9a..70bfe24 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef __RTW_DEBUG_H__
 #define __RTW_DEBUG_H__
 
-#define _module_rtl871x_security_c_            BIT(12)
 #define _module_rtl871x_eeprom_c_                      BIT(13)
 #define _module_hal_init_c_            BIT(14)
 #define _module_hci_hal_init_c_                BIT(15)
@@ -31,9 +30,7 @@
 
 #undef _MODULE_DEFINE_
 
-#if defined _RTW_SECURITY_C_
-       #define _MODULE_DEFINE_ _module_rtl871x_security_c_
-#elif defined _RTW_EEPROM_C_
+#if defined _RTW_EEPROM_C_
        #define _MODULE_DEFINE_ _module_rtl871x_eeprom_c_
 #elif defined _HAL_INTF_C_
        #define _MODULE_DEFINE_ _module_hal_init_c_