diff options
author | Mohammed Shafi Shajakhan <mshajakhan@atheros.com> | 2011-05-09 10:29:01 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-10 15:54:51 -0400 |
commit | 8c12c7b0efce09b87e67d05332bdcb86ea83f65a (patch) | |
tree | 582e0a26d756f3d61a9a0e076871b9303d4ea1db /drivers/net/wireless/ath/ath9k/calib.c | |
parent | 5ee9c6afcb72eb41c3607e424c3b969f8c56031b (diff) | |
download | op-kernel-dev-8c12c7b0efce09b87e67d05332bdcb86ea83f65a.zip op-kernel-dev-8c12c7b0efce09b87e67d05332bdcb86ea83f65a.tar.gz |
ath9k_hw: remove get_channel_noise function
currently ath9k_hw_getchan_noise is not used anywhere
Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/calib.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c index fe3c10e..558b228 100644 --- a/drivers/net/wireless/ath/ath9k/calib.c +++ b/drivers/net/wireless/ath/ath9k/calib.c @@ -409,14 +409,6 @@ void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah, } } -s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan) -{ - if (!ah->curchan || !ah->curchan->noisefloor) - return ath9k_hw_get_default_nf(ah, chan); - - return ah->curchan->noisefloor; -} -EXPORT_SYMBOL(ath9k_hw_getchan_noise); void ath9k_hw_bstuck_nfcal(struct ath_hw *ah) { |