From e8bc244c28e128e794af47a22e56fa2877e77240 Mon Sep 17 00:00:00 2001 From: Fabio Aiuto Date: Sat, 24 Apr 2021 11:02:19 +0200 Subject: [PATCH] staging: rtl8723bs: remove unused macros tied to core/rtw_pwrctrl.c debug remove unused macro definitions tied to core/rtw_pwrctrl.c debug. Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/0f746668ec65d6c188ba422778d6edc2b6eb7d91.1619254603.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 2 -- drivers/staging/rtl8723bs/include/rtw_debug.h | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c index 251b9ab..a392d5b 100644 --- a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c +++ b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c @@ -4,8 +4,6 @@ * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. * ******************************************************************************/ -#define _RTW_PWRCTRL_C_ - #include #include #include diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/staging/rtl8723bs/include/rtw_debug.h index 8e32431..a7f6827 100644 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ b/drivers/staging/rtl8723bs/include/rtw_debug.h @@ -23,9 +23,7 @@ #undef _MODULE_DEFINE_ -#if defined _RTW_PWRCTRL_C_ - #define _MODULE_DEFINE_ 1 -#elif defined _HCI_INTF_C_ +#if defined _HCI_INTF_C_ #define _MODULE_DEFINE_ _module_hci_intfs_c_ #elif defined _HCI_OPS_C_ #define _MODULE_DEFINE_ _module_hci_ops_c_ -- 2.7.4