summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/debug.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2012-01-17 22:09:19 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2012-01-18 15:59:49 +0400
commit5afa5aa79680ee107fef1195c80f5f67c54b6691 (patch)
tree5f3617a5412d2af3941b1deaa2e46cc36ef82cef /drivers/net/wireless/ath/ath6kl/debug.h
parent45eaa78f757b3b3992ca02c753764665e9fba0a4 (diff)
downloadlinux-5afa5aa79680ee107fef1195c80f5f67c54b6691.tar.xz
ath6kl: get rid of AR_DBG_LVL_CHECK()
We don't need it as debug calls already have a log level and compiler should be smart enough to optimise away the code when ath6kl debug code is not enabled. Also it makes it easier to abstract core code to ath6kl_core.ko. In ath6kl_dump_registers() I had to change the debug level from ANY to IRQ as I removed the AR_DBG_LVL_CHECK() check before calling the function. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/debug.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/debug.h b/drivers/net/wireless/ath/ath6kl/debug.h
index 9853c9c125c1..9dc39754a35f 100644
--- a/drivers/net/wireless/ath/ath6kl/debug.h
+++ b/drivers/net/wireless/ath/ath6kl/debug.h
@@ -55,8 +55,6 @@ int ath6kl_printk(const char *level, const char *fmt, ...);
#define ath6kl_warn(fmt, ...) \
ath6kl_printk(KERN_WARNING, fmt, ##__VA_ARGS__)
-#define AR_DBG_LVL_CHECK(mask) (debug_mask & mask)
-
enum ath6kl_war {
ATH6KL_WAR_INVALID_RATE,
};