ath9k_hw: remove get_channel_noise function
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Mon, 9 May 2011 04:59:01 +0000 (10:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 May 2011 19:54:51 +0000 (15:54 -0400)
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>
drivers/net/wireless/ath/ath9k/calib.c
drivers/net/wireless/ath/ath9k/calib.h

index fe3c10e6b27667de3703bfee126609455b4bd7fc..558b228a717fe06c35ac66a4e78962a23be97473 100644 (file)
@@ -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)
 {
index b8973eb8d858bb3414c41bea41e01970aeb28a62..4420780fa3b86d2a7fbbfb173e0f2fefc7026e05 100644 (file)
@@ -106,7 +106,6 @@ bool ath9k_hw_getnf(struct ath_hw *ah, struct ath9k_channel *chan);
 void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah,
                                  struct ath9k_channel *chan);
 void ath9k_hw_bstuck_nfcal(struct ath_hw *ah);
-s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan);
 void ath9k_hw_reset_calibration(struct ath_hw *ah,
                                struct ath9k_cal_list *currCal);