ath9k_hw: remove aniState->noiseFloor
authorFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jun 2012 13:25:19 +0000 (15:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 18:44:41 +0000 (14:44 -0400)
commit35e808b7e4e9ddac1086716867fe686f52fb78ff
tree3e40f84a2c2a49be6fac5265d3fd5677c28524b7
parenta769f9577232afe2c754606a83aad85127e7052a
ath9k_hw: remove aniState->noiseFloor

I don't know why somebody decided to keep a cached copy of beacon rssi in a
variable called 'noiseFloor', but the caching is unnecessary and the variable
name is confusing, so let's just get rid of it entirely.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ani.c
drivers/net/wireless/ath/ath9k/ani.h