diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 21:11:19 +0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 03:50:06 +0400 |
commit | 85c93e5189b7402b4f9f4324c284bb91e8e8fb85 (patch) | |
tree | 24a3cdfe3f5ddc2cc316e2c193a262865420cbb0 /drivers/net/wireless/libertas/main.c | |
parent | 0aabc0a5d5657df254255c9049a97cc96229bcba (diff) | |
download | linux-85c93e5189b7402b4f9f4324c284bb91e8e8fb85.tar.xz |
[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>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index d3316e413465..ab8dcbf5bfc9 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c @@ -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; |