From 127119d50ff6e226c602ae920722897f8a0c81e2 Mon Sep 17 00:00:00 2001 From: Zhu Yi Date: Thu, 13 Apr 2006 17:21:06 +0800 Subject: [PATCH] ipw2200: remove priv->last_noise reference priv->last_noise is not used with the exponential averaging algorithm Signed-off-by: Zhu Yi Signed-off-by: John W. Linville --- drivers/net/wireless/ipw2200.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/net/wireless/ipw2200.c') 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; -- cgit v1.2.2