diff options
author | John W. Linville <linville@tuxdriver.com> | 2009-11-13 13:12:59 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-25 15:20:50 -0500 |
commit | 04658fba2314d6d70d5fa05c0b5995e6428aacc3 (patch) | |
tree | 3bbaa52670cf52f18acd8850ff5a328bf990182d /drivers/net/wireless/ath/ath9k/common.c | |
parent | efe117ab8114f47f317b4803e5bc0104420bcba2 (diff) |
ath9k: remove warnings related to signed/unsigned type mismatch
CC [M] drivers/net/wireless/ath/ath9k/recv.o
drivers/net/wireless/ath/ath9k/recv.c: In function `ath_rx_prepare':
drivers/net/wireless/ath/ath9k/recv.c:208: warning: comparison is always true due to limited range of data type
drivers/net/wireless/ath/ath9k/recv.c:220: warning: comparison is always false due to limited range of data type
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/common.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/common.c b/drivers/net/wireless/ath/ath9k/common.c index 4a13632e3e4d..d96751ccee96 100644 --- a/drivers/net/wireless/ath/ath9k/common.c +++ b/drivers/net/wireless/ath/ath9k/common.c @@ -181,8 +181,6 @@ static void ath9k_process_rssi(struct ath_common *common, ATH_RSSI_EP_MULTIPLIER); if (rx_stats->rs_rssi < 0) rx_stats->rs_rssi = 0; - else if (rx_stats->rs_rssi > 127) - rx_stats->rs_rssi = 127; /* Update Beacon RSSI, this is used by ANI. */ if (ieee80211_is_beacon(fc)) |