diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 13:10:05 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:50:04 -0400 |
commit | ae596ce2f77d1542fe44ea483bd0ca7f61baeccd (patch) | |
tree | 6f68c8dc6259a6b197ae75b94a08d69c3fa7a65b /drivers/net/wireless/libertas/main.c | |
parent | 56c4656e84d068ecc4da670799216e5b2aaee50e (diff) |
[PATCH] libertas: remove adapter->atimwindow
This varaible was initialized with 0 but there is no code that would ever
change it's value. So it can go away.
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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index df06d40ffdea..d227e453f984 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -998,9 +998,6 @@ static void wlan_init_adapter(wlan_private * priv) | |||
998 | wlan_adapter *adapter = priv->adapter; | 998 | wlan_adapter *adapter = priv->adapter; |
999 | int i; | 999 | int i; |
1000 | 1000 | ||
1001 | /* ATIM params */ | ||
1002 | adapter->atimwindow = 0; | ||
1003 | |||
1004 | adapter->connect_status = LIBERTAS_DISCONNECTED; | 1001 | adapter->connect_status = LIBERTAS_DISCONNECTED; |
1005 | memset(adapter->current_addr, 0xff, ETH_ALEN); | 1002 | memset(adapter->current_addr, 0xff, ETH_ALEN); |
1006 | 1003 | ||