summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/debug.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-10 18:32:18 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-04-12 22:59:24 +0200
commit5b7916ad8c29da9f30fbf03a8b61862acdba00ce (patch)
tree217924ae5883a793e5bc8e36f01874d2530f0b0f /drivers/net/wireless/ath/ath5k/debug.h
parentath5k: remove ts_retry from ath5k_tx_status (diff)
downloadlinux-5b7916ad8c29da9f30fbf03a8b61862acdba00ce.tar.xz
linux-5b7916ad8c29da9f30fbf03a8b61862acdba00ce.zip
ath5k: clean up debugfs code
The pointers to the debugfs entries do not need to be saved, because they will be recursively removed when the wiphy is unregistered. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/debug.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/net/wireless/ath/ath5k/debug.h b/drivers/net/wireless/ath/ath5k/debug.h
index b0355aef68d3..193dd2d4ea3c 100644
--- a/drivers/net/wireless/ath/ath5k/debug.h
+++ b/drivers/net/wireless/ath/ath5k/debug.h
@@ -68,17 +68,6 @@ struct ath5k_buf;
struct ath5k_dbg_info {
unsigned int level; /* debug level */
- /* debugfs entries */
- struct dentry *debugfs_phydir;
- struct dentry *debugfs_debug;
- struct dentry *debugfs_registers;
- struct dentry *debugfs_beacon;
- struct dentry *debugfs_reset;
- struct dentry *debugfs_antenna;
- struct dentry *debugfs_misc;
- struct dentry *debugfs_frameerrors;
- struct dentry *debugfs_ani;
- struct dentry *debugfs_queue;
};
/**
@@ -141,9 +130,6 @@ void
ath5k_debug_init_device(struct ath5k_softc *sc);
void
-ath5k_debug_finish_device(struct ath5k_softc *sc);
-
-void
ath5k_debug_printrxbuffs(struct ath5k_softc *sc, struct ath5k_hw *ah);
void
@@ -167,9 +153,6 @@ static inline void
ath5k_debug_init_device(struct ath5k_softc *sc) {}
static inline void
-ath5k_debug_finish_device(struct ath5k_softc *sc) {}
-
-static inline void
ath5k_debug_printrxbuffs(struct ath5k_softc *sc, struct ath5k_hw *ah) {}
static inline void