From: Philipp Hortmann Date: Fri, 6 Oct 2023 19:05:33 +0000 (+0200) Subject: staging: rtl8192e: Remove unused variable rt_global_debug_component X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=00c02ae6746d5bc7a3ce2f972d2e195a3e8873e8;p=users%2Fjedix%2Flinux-maple.git staging: rtl8192e: Remove unused variable rt_global_debug_component Remove unused variable rt_global_debug_component. Signed-off-by: Philipp Hortmann Link: https://lore.kernel.org/r/082272e20dc0659e7700f7756a6bf1a8b71c411e.1696548527.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtllib_debug.h b/drivers/staging/rtl8192e/rtllib_debug.h index f6b23defe2257..06adfebd7c893 100644 --- a/drivers/staging/rtl8192e/rtllib_debug.h +++ b/drivers/staging/rtl8192e/rtllib_debug.h @@ -14,8 +14,6 @@ #define DRV_NAME "rtllib_92e" #endif -extern u32 rt_global_debug_component; - /* These are the defines for rt_global_debug_component */ enum RTL_DEBUG { COMP_TRACE = BIT(0), diff --git a/drivers/staging/rtl8192e/rtllib_module.c b/drivers/staging/rtl8192e/rtllib_module.c index 195d8aa881388..f280c9e949581 100644 --- a/drivers/staging/rtl8192e/rtllib_module.c +++ b/drivers/staging/rtl8192e/rtllib_module.c @@ -34,9 +34,6 @@ #include #include "rtllib.h" -u32 rt_global_debug_component = COMP_ERR; -EXPORT_SYMBOL(rt_global_debug_component); - static inline int rtllib_networks_allocate(struct rtllib_device *ieee) { if (ieee->networks)