mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 07:02:23 +00:00
[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>
This commit is contained in:
parent
459d408768
commit
127119d50f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user