staging: rtl8723bs: remove debug macros related to hal/hal_intf.c tracing
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 24 Apr 2021 09:02:13 +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 hal/hal_intf.c
obsolete tracing.

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

index 8dc4dd8..4868a69 100644 (file)
@@ -4,9 +4,6 @@
  * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
  *
  ******************************************************************************/
-
-#define _HAL_INTF_C_
-
 #include <drv_types.h>
 #include <rtw_debug.h>
 #include <hal_data.h>
index 8a4ee84..4da881e 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef __RTW_DEBUG_H__
 #define __RTW_DEBUG_H__
 
-#define _module_hal_init_c_            BIT(14)
 #define _module_hci_hal_init_c_                BIT(15)
 #define _module_rtl871x_ioctl_c_               BIT(16)
 #define _module_rtl871x_ioctl_set_c_           BIT(17)
@@ -29,9 +28,7 @@
 
 #undef _MODULE_DEFINE_
 
-#if defined _HAL_INTF_C_
-       #define _MODULE_DEFINE_ _module_hal_init_c_
-#elif (defined _HCI_HAL_INIT_C_) || (defined _SDIO_HALINIT_C_)
+#if (defined _HCI_HAL_INIT_C_) || (defined _SDIO_HALINIT_C_)
        #define _MODULE_DEFINE_ _module_hci_hal_init_c_
 #elif defined _RTL871X_IOCTL_C_
        #define _MODULE_DEFINE_ _module_rtl871x_ioctl_c_