aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.c
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2006-04-13 05:21:06 -0400
committerJohn W. Linville <linville@tuxdriver.com>2006-04-24 16:15:57 -0400
commit127119d50ff6e226c602ae920722897f8a0c81e2 (patch)
treec750aeb5340e3bfae329876b85bef5b0555848ef /drivers/net/wireless/ipw2200.c
parent459d408768fecfd1c2d170ab073e8cfd48326b1f (diff)
[PATCH] ipw2200: remove priv->last_noise reference
priv->last_noise is not used with the exponential averaging algorithm Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r--drivers/net/wireless/ipw2200.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 8a475c7e4add..0f81ff7a1cd6 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -7790,9 +7790,6 @@ static void ipw_handle_promiscuous_rx(struct ipw_priv *priv,
7790 if (filter & IPW_PROM_NO_RX) 7790 if (filter & IPW_PROM_NO_RX)
7791 return; 7791 return;
7792 7792
7793 if (!noise)
7794 noise = priv->last_noise;
7795
7796 /* We received data from the HW, so stop the watchdog */ 7793 /* We received data from the HW, so stop the watchdog */
7797 priv->prom_net_dev->trans_start = jiffies; 7794 priv->prom_net_dev->trans_start = jiffies;
7798 7795