summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorChris Park <chris.park@atmel.com>2016-02-22 05:11:55 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-22 20:47:00 +0100
commit4e77c68bf8cde8fab3a289077974b4d1fe50ecfc (patch)
tree7609a22df004c2831f7ce70b68f01bcc58d4dd9f /drivers/staging
parentstaging: wilc1000: wilc_wfi_cfgoperations.c: removes unnecessary log messages (diff)
downloadlinux-4e77c68bf8cde8fab3a289077974b4d1fe50ecfc.tar.xz
linux-4e77c68bf8cde8fab3a289077974b4d1fe50ecfc.zip
staging: wilc1000: removes unused HOSTAPD_DBG tag
This patch removes unused HOSTAPD_DBG tag. Signed-off-by: Chris Park <chris.park@atmel.com> Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/wilc1000/linux_wlan_common.h4
-rw-r--r--drivers/staging/wilc1000/wilc_debugfs.c5
2 files changed, 3 insertions, 6 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan_common.h b/drivers/staging/wilc1000/linux_wlan_common.h
index 0d9a71fa6de4..1f7d806f5eea 100644
--- a/drivers/staging/wilc1000/linux_wlan_common.h
+++ b/drivers/staging/wilc1000/linux_wlan_common.h
@@ -2,13 +2,11 @@
#define LINUX_WLAN_COMMON_H
enum debug_region {
- Hostapd_debug = 0,
- CFG80211_debug,
+ CFG80211_debug = 0,
Init_debug,
COMP = 0xFFFFFFFF,
};
-#define HOSTAPD_DBG (1 << Hostapd_debug)
#define CFG80211_DBG (1 << CFG80211_debug)
#define INIT_DBG (1 << Init_debug)
diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c
index a27b077386e5..fafe7ccfc8a1 100644
--- a/drivers/staging/wilc1000/wilc_debugfs.c
+++ b/drivers/staging/wilc1000/wilc_debugfs.c
@@ -24,10 +24,9 @@ static struct dentry *wilc_dir;
* --------------------------------------------------------------------------------
*/
-#define DBG_REGION_ALL (HOSTAPD_DBG | CFG80211_DBG | INIT_DBG)
+#define DBG_REGION_ALL (CFG80211_DBG | INIT_DBG)
#define DBG_LEVEL_ALL (DEBUG | INFO | WRN | ERR)
-atomic_t WILC_REGION = ATOMIC_INIT(INIT_DBG | CFG80211_DBG |
- HOSTAPD_DBG);
+atomic_t WILC_REGION = ATOMIC_INIT(INIT_DBG | CFG80211_DBG);
EXPORT_SYMBOL_GPL(WILC_REGION);
atomic_t WILC_DEBUG_LEVEL = ATOMIC_INIT(ERR);
EXPORT_SYMBOL_GPL(WILC_DEBUG_LEVEL);