diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 19:07:56 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:50:01 +0200 |
commit | caef47a0dc2b17ea6fb0119d3678b4b21ae70daa (patch) | |
tree | 7403f190b756bdaeafcf8ec99d67b66d79274ba5 /drivers/net/wireless/libertas/rx.c | |
parent | [PATCH] libertas: remove adapter->txrate (diff) | |
download | linux-caef47a0dc2b17ea6fb0119d3678b4b21ae70daa.tar.xz linux-caef47a0dc2b17ea6fb0119d3678b4b21ae70daa.zip |
[PATCH] libertas: remove adapter->rxpd_rate
No code uses the contents of this variable, so it can go.
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/rx.c')
-rw-r--r-- | drivers/net/wireless/libertas/rx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c index 25d45c646d71..2473931f8151 100644 --- a/drivers/net/wireless/libertas/rx.c +++ b/drivers/net/wireless/libertas/rx.c @@ -117,8 +117,6 @@ static void wlan_compute_rssi(wlan_private * priv, struct rxpd *p_rx_pd) adapter->NF[TYPE_RXPD][TYPE_NOAVG] = p_rx_pd->nf; wlan_save_rawSNRNF(priv, p_rx_pd); - adapter->rxpd_rate = p_rx_pd->rx_rate; - adapter->SNR[TYPE_RXPD][TYPE_AVG] = wlan_getavgsnr(priv) * AVG_SCALE; adapter->NF[TYPE_RXPD][TYPE_AVG] = wlan_getavgnf(priv) * AVG_SCALE; lbs_deb_rx("after computing SNR: SNR-avg = %d, NF-avg = %d\n", |