diff options
Diffstat (limited to 'drivers/net/wireless/ath/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/debug.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/net/wireless/ath/debug.c b/drivers/net/wireless/ath/debug.c index a9600ba8ceaa..5367b1086e09 100644 --- a/drivers/net/wireless/ath/debug.c +++ b/drivers/net/wireless/ath/debug.c | |||
@@ -15,26 +15,6 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include "ath.h" | 17 | #include "ath.h" |
18 | #include "debug.h" | ||
19 | |||
20 | void ath_print(struct ath_common *common, int dbg_mask, const char *fmt, ...) | ||
21 | { | ||
22 | struct va_format vaf; | ||
23 | va_list args; | ||
24 | |||
25 | if (likely(!(common->debug_mask & dbg_mask))) | ||
26 | return; | ||
27 | |||
28 | va_start(args, fmt); | ||
29 | |||
30 | vaf.fmt = fmt; | ||
31 | vaf.va = &args; | ||
32 | |||
33 | printk(KERN_DEBUG "ath: %pV", &vaf); | ||
34 | |||
35 | va_end(args); | ||
36 | } | ||
37 | EXPORT_SYMBOL(ath_print); | ||
38 | 18 | ||
39 | const char *ath_opmode_to_string(enum nl80211_iftype opmode) | 19 | const char *ath_opmode_to_string(enum nl80211_iftype opmode) |
40 | { | 20 | { |