staging: rtl8192e: Remove unused variable rt_global_debug_component
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Fri, 6 Oct 2023 19:05:33 +0000 (21:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Oct 2023 09:13:57 +0000 (11:13 +0200)
Remove unused variable rt_global_debug_component.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/082272e20dc0659e7700f7756a6bf1a8b71c411e.1696548527.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_debug.h
drivers/staging/rtl8192e/rtllib_module.c

index f6b23defe22577c3ea880a68dc2242dde5005638..06adfebd7c89378d7024170500a63cc4c05f0cd4 100644 (file)
@@ -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),
index 195d8aa881388d122a91578d10ff98dfd110151d..f280c9e949581e6e04bfcebc8907097d22b6289b 100644 (file)
@@ -34,9 +34,6 @@
 #include <net/arp.h>
 #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)