[PATCH] libertas: remove adapter->{data,bcn}_avg_factor
Those two variables were initialized with some default values, but there is no code that would ever change them. So we could use as well the defaults directly. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
David S. Miller

parent
caef47a0dc
commit
a783f1ee5b
@@ -998,9 +998,6 @@ static void wlan_init_adapter(wlan_private * priv)
|
||||
wlan_adapter *adapter = priv->adapter;
|
||||
int i;
|
||||
|
||||
adapter->bcn_avg_factor = DEFAULT_BCN_AVG_FACTOR;
|
||||
adapter->data_avg_factor = DEFAULT_DATA_AVG_FACTOR;
|
||||
|
||||
/* ATIM params */
|
||||
adapter->atimwindow = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user