summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>2023-10-06 21:05:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-07 11:13:57 +0200
commit00c02ae6746d5bc7a3ce2f972d2e195a3e8873e8 (patch)
treecc4f720bf71a7b835e63c97e73233c3998580a9f /drivers
parent26e703c677e981f3e363ef327a94f7a4f4790013 (diff)
staging: rtl8192e: Remove unused variable rt_global_debug_component
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8192e/rtllib_debug.h2
-rw-r--r--drivers/staging/rtl8192e/rtllib_module.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_debug.h b/drivers/staging/rtl8192e/rtllib_debug.h
index f6b23defe225..06adfebd7c89 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 195d8aa88138..f280c9e94958 100644
--- a/drivers/staging/rtl8192e/rtllib_module.c
+++ b/drivers/staging/rtl8192e/rtllib_module.c
@@ -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)