[PATCH] libertas: remove adapter->adhoc_grate_enabled
The variable was initialized with 0 (false). There is no code that would ever change it, so we can use the false-patch 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
0aabc0a5d5
commit
85c93e5189
@@ -1042,7 +1042,6 @@ static void wlan_init_adapter(wlan_private * priv)
|
||||
|
||||
adapter->auto_rate = 1;
|
||||
adapter->cur_rate = 0;
|
||||
adapter->adhoc_grate_enabled = 0;
|
||||
|
||||
adapter->beaconperiod = MRVDRV_BEACON_INTERVAL;
|
||||
|
||||
|
Reference in New Issue
Block a user