]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ipw2200: remove priv->last_noise reference
authorZhu Yi <yi.zhu@intel.com>
Thu, 13 Apr 2006 09:21:06 +0000 (17:21 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Apr 2006 20:15:57 +0000 (16:15 -0400)
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>
drivers/net/wireless/ipw2200.c

index 8a475c7e4add18ca1a62905b60863fee660110f7..0f81ff7a1cd60b58e34fcaaf3d5bff8736fe0985 100644 (file)
@@ -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;