From: Zhu Yi Date: Thu, 13 Apr 2006 09:21:06 +0000 (+0800) Subject: [PATCH] ipw2200: remove priv->last_noise reference X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=127119d50ff6e226c602ae920722897f8a0c81e2;p=linux-beck.git [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 --- 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;