summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2006-04-13 17:21:06 +0800
committerJohn W. Linville <linville@tuxdriver.com>2006-04-24 16:15:57 -0400
commit127119d50ff6e226c602ae920722897f8a0c81e2 (patch)
treec750aeb5340e3bfae329876b85bef5b0555848ef
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>
-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,
if (filter & IPW_PROM_NO_RX)
return;
- if (!noise)
- noise = priv->last_noise;
-
/* We received data from the HW, so stop the watchdog */
priv->prom_net_dev->trans_start = jiffies;