aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/debug.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-05-07 19:33:30 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-05-22 15:05:32 -0400
commitcf657a2bc50dff0191d55fff4e7b31e7a6a542a5 (patch)
tree01ba5e39eae687d39a8b0f264e1c325d7b341d7a /drivers/net/wireless/ath/ath9k/debug.h
parent9483f40d8d01918b399b4e24d0c1111db0afffeb (diff)
ath9k: Remove MAC_DEBUG
This option has not been enabled by default in any distribution, has never been enabled in OpenWrt and no developer has asked for this information in a bug report. Dumping pages of random values doesn't help debugging, remove this option (along with the vmalloc() abuse). Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/debug.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.h b/drivers/net/wireless/ath/ath9k/debug.h
index 794a7ec83a24..62da19c6f4e0 100644
--- a/drivers/net/wireless/ath/ath9k/debug.h
+++ b/drivers/net/wireless/ath/ath9k/debug.h
@@ -294,13 +294,6 @@ struct ath9k_debug {
294 struct dentry *debugfs_phy; 294 struct dentry *debugfs_phy;
295 u32 regidx; 295 u32 regidx;
296 struct ath_stats stats; 296 struct ath_stats stats;
297#ifdef CONFIG_ATH9K_MAC_DEBUG
298 spinlock_t samp_lock;
299 struct ath_dbg_bb_mac_samp bb_mac_samp[ATH_DBG_MAX_SAMPLES];
300 u8 sampidx;
301 u8 tsidx;
302 u8 rsidx;
303#endif
304}; 297};
305 298
306int ath9k_init_debug(struct ath_hw *ah); 299int ath9k_init_debug(struct ath_hw *ah);
@@ -359,17 +352,4 @@ static inline void ath_debug_stat_rx(struct ath_softc *sc,
359 352
360#endif /* CONFIG_ATH9K_DEBUGFS */ 353#endif /* CONFIG_ATH9K_DEBUGFS */
361 354
362#ifdef CONFIG_ATH9K_MAC_DEBUG
363
364void ath9k_debug_samp_bb_mac(struct ath_softc *sc);
365
366#else
367
368static inline void ath9k_debug_samp_bb_mac(struct ath_softc *sc)
369{
370}
371
372#endif
373
374
375#endif /* DEBUG_H */ 355#endif /* DEBUG_H */