aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>2011-05-09 00:59:01 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-10 15:54:51 -0400
commit8c12c7b0efce09b87e67d05332bdcb86ea83f65a (patch)
tree582e0a26d756f3d61a9a0e076871b9303d4ea1db
parent5ee9c6afcb72eb41c3607e424c3b969f8c56031b (diff)
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>
-rw-r--r--drivers/net/wireless/ath/ath9k/calib.c8
-rw-r--r--drivers/net/wireless/ath/ath9k/calib.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c
index fe3c10e6b276..558b228a717f 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,
409 } 409 }
410} 410}
411 411
412s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan)
413{
414 if (!ah->curchan || !ah->curchan->noisefloor)
415 return ath9k_hw_get_default_nf(ah, chan);
416
417 return ah->curchan->noisefloor;
418}
419EXPORT_SYMBOL(ath9k_hw_getchan_noise);
420 412
421void ath9k_hw_bstuck_nfcal(struct ath_hw *ah) 413void ath9k_hw_bstuck_nfcal(struct ath_hw *ah)
422{ 414{
diff --git a/drivers/net/wireless/ath/ath9k/calib.h b/drivers/net/wireless/ath/ath9k/calib.h
index b8973eb8d858..4420780fa3b8 100644
--- a/drivers/net/wireless/ath/ath9k/calib.h
+++ b/drivers/net/wireless/ath/ath9k/calib.h
@@ -106,7 +106,6 @@ bool ath9k_hw_getnf(struct ath_hw *ah, struct ath9k_channel *chan);
106void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah, 106void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah,
107 struct ath9k_channel *chan); 107 struct ath9k_channel *chan);
108void ath9k_hw_bstuck_nfcal(struct ath_hw *ah); 108void ath9k_hw_bstuck_nfcal(struct ath_hw *ah);
109s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan);
110void ath9k_hw_reset_calibration(struct ath_hw *ah, 109void ath9k_hw_reset_calibration(struct ath_hw *ah,
111 struct ath9k_cal_list *currCal); 110 struct ath9k_cal_list *currCal);
112 111