[PATCH] libertas: remove adapter->locallisteninterval
locallisteninterval was initialized with 0, but there is no code that changes it, rendering it rather useless. 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
97605c3eb3
commit
252cf0d10f
@@ -1059,7 +1059,6 @@ static void wlan_init_adapter(wlan_private * priv)
|
||||
|
||||
adapter->psstate = PS_STATE_FULL_POWER;
|
||||
adapter->needtowakeup = 0;
|
||||
adapter->locallisteninterval = 0; /* default value in firmware will be used */
|
||||
|
||||
adapter->intcounter = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user