summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/debug.h
diff options
context:
space:
mode:
authorBruno Randolf2010-05-19 03:31:16 +0200
committerJohn W. Linville2010-06-02 22:13:24 +0200
commit230fc4f3b2fa72980787a5f86c850f02bb193187 (patch)
tree74e807adfb7f2455c65553dd22700a7222bf81de /drivers/net/wireless/ath/ath5k/debug.h
parentath5k: run NF calibration only every 60 seconds (diff)
downloadkernel-qcow2-linux-230fc4f3b2fa72980787a5f86c850f02bb193187.tar.gz
kernel-qcow2-linux-230fc4f3b2fa72980787a5f86c850f02bb193187.tar.xz
kernel-qcow2-linux-230fc4f3b2fa72980787a5f86c850f02bb193187.zip
ath5k: remove ATH_TRACE macro
Now that we have ftrace, it is not needed any more. Signed-off-by: Bruno Randolf <br1@einfach.org> Acked-by: Nick Kossifidis <mickflemm@gmail.com> 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.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/ath5k/debug.h b/drivers/net/wireless/ath/ath5k/debug.h
index ddd5b3a99e8d..bd1658729141 100644
--- a/drivers/net/wireless/ath/ath5k/debug.h
+++ b/drivers/net/wireless/ath/ath5k/debug.h
@@ -115,18 +115,12 @@ enum ath5k_debug_level {
ATH5K_DEBUG_DUMP_RX = 0x00000100,
ATH5K_DEBUG_DUMP_TX = 0x00000200,
ATH5K_DEBUG_DUMPBANDS = 0x00000400,
- ATH5K_DEBUG_TRACE = 0x00001000,
ATH5K_DEBUG_ANI = 0x00002000,
ATH5K_DEBUG_ANY = 0xffffffff
};
#ifdef CONFIG_ATH5K_DEBUG
-#define ATH5K_TRACE(_sc) do { \
- if (unlikely((_sc)->debug.level & ATH5K_DEBUG_TRACE)) \
- printk(KERN_DEBUG "ath5k trace %s:%d\n", __func__, __LINE__); \
- } while (0)
-
#define ATH5K_DBG(_sc, _m, _fmt, ...) do { \
if (unlikely((_sc)->debug.level & (_m) && net_ratelimit())) \
ATH5K_PRINTK(_sc, KERN_DEBUG, "(%s:%d): " _fmt, \
@@ -168,8 +162,6 @@ ath5k_debug_printtxbuf(struct ath5k_softc *sc, struct ath5k_buf *bf);
#include <linux/compiler.h>
-#define ATH5K_TRACE(_sc) typecheck(struct ath5k_softc *, (_sc))
-
static inline void __attribute__ ((format (printf, 3, 4)))
ATH5K_DBG(struct ath5k_softc *sc, unsigned int m, const char *fmt, ...) {}