]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16356e1b4824a7a61e22d7e33f7e50409010ca84
tree5f3617a5412d2af3941b1deaa2e46cc36ef82cef
parent1290ec53450b9c85b26e00305327c6711844d811
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