ath6kl: get rid of AR_DBG_LVL_CHECK()
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 17 Jan 2012 18:09:19 +0000 (20:09 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 18 Jan 2012 11:59:49 +0000 (13:59 +0200)
commit5afa5aa79680ee107fef1195c80f5f67c54b6691
tree5f3617a5412d2af3941b1deaa2e46cc36ef82cef
parent45eaa78f757b3b3992ca02c753764665e9fba0a4
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>
drivers/net/wireless/ath/ath6kl/debug.c
drivers/net/wireless/ath/ath6kl/debug.h
drivers/net/wireless/ath/ath6kl/hif.c
drivers/net/wireless/ath/ath6kl/wmi.c