diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 13:08:24 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:50:02 -0400 |
commit | a783f1ee5b112a0258762877ec7c1ce8810f3cd8 (patch) | |
tree | 9f8020ea75e9d4aca94032479b0e9810e4f187ca /drivers/net/wireless/libertas/dev.h | |
parent | caef47a0dc2b17ea6fb0119d3678b4b21ae70daa (diff) |
[PATCH] libertas: remove adapter->{data,bcn}_avg_factor
Those two variables were initialized with some default values, but there
is no code that would ever change them. So we could use as well the defaults
directly.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index 850518e9cbcb..76234000e5bc 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h | |||
@@ -334,8 +334,6 @@ struct _wlan_adapter { | |||
334 | u8 wpa_ie_len; | 334 | u8 wpa_ie_len; |
335 | 335 | ||
336 | /** Requested Signal Strength*/ | 336 | /** Requested Signal Strength*/ |
337 | u16 bcn_avg_factor; | ||
338 | u16 data_avg_factor; | ||
339 | u16 SNR[MAX_TYPE_B][MAX_TYPE_AVG]; | 337 | u16 SNR[MAX_TYPE_B][MAX_TYPE_AVG]; |
340 | u16 NF[MAX_TYPE_B][MAX_TYPE_AVG]; | 338 | u16 NF[MAX_TYPE_B][MAX_TYPE_AVG]; |
341 | u8 RSSI[MAX_TYPE_B][MAX_TYPE_AVG]; | 339 | u8 RSSI[MAX_TYPE_B][MAX_TYPE_AVG]; |