Commit c9f75c30 authored by Chris Park's avatar Chris Park Committed by Greg Kroah-Hartman

staging: wilc1000: remove unused debug tag

This patch remove unused debug tag INT_DBG, LOCK_DBG, BUS_DBG,
MEM_DBG and FIRM_DBG
Signed-off-by: default avatarChris Park <chris.park@atmel.com>
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eef2679b
...@@ -5,29 +5,14 @@ enum debug_region { ...@@ -5,29 +5,14 @@ enum debug_region {
Generic_debug = 0, Generic_debug = 0,
Hostapd_debug, Hostapd_debug,
CFG80211_debug, CFG80211_debug,
Interrupt_debug,
Lock_debug,
Tcp_enhance,
Spin_debug,
Init_debug, Init_debug,
Bus_debug,
Mem_debug,
Firmware_debug,
COMP = 0xFFFFFFFF, COMP = 0xFFFFFFFF,
}; };
#define GENERIC_DBG (1 << Generic_debug) #define GENERIC_DBG (1 << Generic_debug)
#define HOSTAPD_DBG (1 << Hostapd_debug) #define HOSTAPD_DBG (1 << Hostapd_debug)
#define CFG80211_DBG (1 << CFG80211_debug) #define CFG80211_DBG (1 << CFG80211_debug)
#define INT_DBG (1 << Interrupt_debug)
#define LOCK_DBG (1 << Lock_debug)
#define TCP_ENH (1 << Tcp_enhance)
#define SPIN_DEBUG (1 << Spin_debug)
#define INIT_DBG (1 << Init_debug) #define INIT_DBG (1 << Init_debug)
#define BUS_DBG (1 << Bus_debug)
#define MEM_DBG (1 << Mem_debug)
#define FIRM_DBG (1 << Firmware_debug)
#if defined (WILC_DEBUGFS) #if defined (WILC_DEBUGFS)
extern atomic_t WILC_REGION; extern atomic_t WILC_REGION;
......
...@@ -24,9 +24,10 @@ static struct dentry *wilc_dir; ...@@ -24,9 +24,10 @@ static struct dentry *wilc_dir;
* -------------------------------------------------------------------------------- * --------------------------------------------------------------------------------
*/ */
#define DBG_REGION_ALL (GENERIC_DBG | HOSTAPD_DBG | CFG80211_DBG | INT_DBG | LOCK_DBG | INIT_DBG | BUS_DBG | MEM_DBG) #define DBG_REGION_ALL (GENERIC_DBG | HOSTAPD_DBG | CFG80211_DBG | INIT_DBG)
#define DBG_LEVEL_ALL (DEBUG | INFO | WRN | ERR) #define DBG_LEVEL_ALL (DEBUG | INFO | WRN | ERR)
atomic_t WILC_REGION = ATOMIC_INIT(INIT_DBG | GENERIC_DBG | CFG80211_DBG | FIRM_DBG | HOSTAPD_DBG); atomic_t WILC_REGION = ATOMIC_INIT(INIT_DBG | GENERIC_DBG | CFG80211_DBG |
HOSTAPD_DBG);
EXPORT_SYMBOL_GPL(WILC_REGION); EXPORT_SYMBOL_GPL(WILC_REGION);
atomic_t WILC_DEBUG_LEVEL = ATOMIC_INIT(ERR); atomic_t WILC_DEBUG_LEVEL = ATOMIC_INIT(ERR);
EXPORT_SYMBOL_GPL(WILC_DEBUG_LEVEL); EXPORT_SYMBOL_GPL(WILC_DEBUG_LEVEL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment