staging: rtl8192e: Remove unused file rtllib_debug.h
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Fri, 6 Oct 2023 19:05:39 +0000 (21:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Oct 2023 09:13:57 +0000 (11:13 +0200)
Remove #define DRV_NAME "rtllib_92e" as it is already set. Remove enum
RTL_DEBUG as it is unused. Remove #include <linux/bits.h> as it is unused.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/b7b61bd068e8090b954e3c025bc724d9e85fc568.1696548527.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_debug.h [deleted file]

index 2f968c3c02291ddb9bd9f09316afb0536e6eab1e..b12a39ecdd9db798e4c0f38a0491be98c1134ccd 100644 (file)
@@ -31,7 +31,6 @@
 #include <linux/delay.h>
 #include <linux/wireless.h>
 
-#include "rtllib_debug.h"
 #include "rtl819x_HT.h"
 #include "rtl819x_BA.h"
 #include "rtl819x_TS.h"
diff --git a/drivers/staging/rtl8192e/rtllib_debug.h b/drivers/staging/rtl8192e/rtllib_debug.h
deleted file mode 100644 (file)
index 06adfeb..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
- *
- * Contact Information: wlanfae <wlanfae@realtek.com>
- */
-#ifndef _RTL_DEBUG_H
-#define _RTL_DEBUG_H
-
-#include <linux/bits.h>
-
-/* Allow files to override DRV_NAME */
-#ifndef DRV_NAME
-#define DRV_NAME "rtllib_92e"
-#endif
-
-/* These are the defines for rt_global_debug_component */
-enum RTL_DEBUG {
-       COMP_TRACE              = BIT(0),
-       COMP_DBG                = BIT(1),
-       COMP_INIT               = BIT(2),
-       COMP_RECV               = BIT(3),
-       COMP_POWER              = BIT(6),
-       COMP_SWBW               = BIT(8),
-       COMP_SEC                = BIT(9),
-       COMP_LPS                = BIT(10),
-       COMP_QOS                = BIT(11),
-       COMP_RATE               = BIT(12),
-       COMP_RXDESC             = BIT(13),
-       COMP_PHY                = BIT(14),
-       COMP_DIG                = BIT(15),
-       COMP_TXAGC              = BIT(16),
-       COMP_HALDM              = BIT(17),
-       COMP_POWER_TRACKING     = BIT(18),
-       COMP_CH                 = BIT(19),
-       COMP_RF                 = BIT(20),
-       COMP_FIRMWARE           = BIT(21),
-       COMP_RESET              = BIT(23),
-       COMP_CMDPKT             = BIT(24),
-       COMP_SCAN               = BIT(25),
-       COMP_PS                 = BIT(26),
-       COMP_DOWN               = BIT(27),
-       COMP_INTR               = BIT(28),
-       COMP_ERR                = BIT(31)
-};
-
-#endif