aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/debug.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c
index 25ae88ebdfac..84f44269de47 100644
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
@@ -23,9 +23,6 @@
23#define REG_READ_D(_ah, _reg) \ 23#define REG_READ_D(_ah, _reg) \
24 ath9k_hw_common(_ah)->ops->read((_ah), (_reg)) 24 ath9k_hw_common(_ah)->ops->read((_ah), (_reg))
25 25
26static unsigned int ath9k_debug = ATH_DBG_DEFAULT;
27module_param_named(debug, ath9k_debug, uint, 0);
28
29static struct dentry *ath9k_debugfs_root; 26static struct dentry *ath9k_debugfs_root;
30 27
31static int ath9k_debugfs_open(struct inode *inode, struct file *file) 28static int ath9k_debugfs_open(struct inode *inode, struct file *file)
@@ -565,8 +562,6 @@ int ath9k_init_debug(struct ath_hw *ah)
565 struct ath_common *common = ath9k_hw_common(ah); 562 struct ath_common *common = ath9k_hw_common(ah);
566 struct ath_softc *sc = (struct ath_softc *) common->priv; 563 struct ath_softc *sc = (struct ath_softc *) common->priv;
567 564
568 common->debug_mask = ath9k_debug;
569
570 if (!ath9k_debugfs_root) 565 if (!ath9k_debugfs_root)
571 return -ENOENT; 566 return -ENOENT;
572 567