aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-08-02 13:13:00 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:50:09 -0400
commitbee093d6132569eee13b2c45058b550c9544a5b8 (patch)
treec8b8d8be81b2f219cb2c401c98567d1882e5603c
parenta2235ed40210081e51bec4bb1be64e4b3511501e (diff)
[PATCH] libertas: remove bss_descriptor->timestamp
Noone used this variable. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/libertas/scan.c1
-rw-r--r--drivers/net/wireless/libertas/scan.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/scan.c b/drivers/net/wireless/libertas/scan.c
index aea2e90b5558..5c730b9d956c 100644
--- a/drivers/net/wireless/libertas/scan.c
+++ b/drivers/net/wireless/libertas/scan.c
@@ -903,7 +903,6 @@ static int libertas_process_bss(struct bss_descriptor * bss,
903 pos++; 903 pos++;
904 904
905 /* time stamp is 8 bytes long */ 905 /* time stamp is 8 bytes long */
906 bss->timestamp = le64_to_cpup((void *) pos);
907 pos += 8; 906 pos += 8;
908 907
909 /* beacon interval is 2 bytes long */ 908 /* beacon interval is 2 bytes long */
diff --git a/drivers/net/wireless/libertas/scan.h b/drivers/net/wireless/libertas/scan.h
index 28decf391531..9bb1a435c28a 100644
--- a/drivers/net/wireless/libertas/scan.h
+++ b/drivers/net/wireless/libertas/scan.h
@@ -157,7 +157,6 @@ struct bss_descriptor {
157 /* zero-terminated array of supported data rates */ 157 /* zero-terminated array of supported data rates */
158 u8 rates[MAX_RATES + 1]; 158 u8 rates[MAX_RATES + 1];
159 159
160 __le64 timestamp; //!< TSF value included in the beacon/probe response
161 unsigned long last_scanned; 160 unsigned long last_scanned;
162 161
163 union ieeetypes_phyparamset phyparamset; 162 union ieeetypes_phyparamset phyparamset;