Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4d4ce1ad02f02e593086fabdad69953ecbd99d9c
Commit:     4d4ce1ad02f02e593086fabdad69953ecbd99d9c
Parent:     27590d06e136167101c8c6347e7c2885c7f014b9
Author:     Holger Schurig <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 2 13:04:28 2007 -0400
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:49:56 2007 -0700

    [PATCH] libertas: remove unused adapter->prev_XXXX variables
    
    There were just used in some debug output, but nowhere else.
    
    Signed-off-by: Holger Schurig <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/libertas/cmdresp.c |    9 ---------
 drivers/net/wireless/libertas/dev.h     |    4 ----
 2 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/drivers/net/wireless/libertas/cmdresp.c 
b/drivers/net/wireless/libertas/cmdresp.c
index bf672f5..8e99c2d 100644
--- a/drivers/net/wireless/libertas/cmdresp.c
+++ b/drivers/net/wireless/libertas/cmdresp.c
@@ -65,18 +65,9 @@ void libertas_mac_event_disconnected(wlan_private * priv)
                    escape_essid(adapter->curbssparams.ssid,
                                 adapter->curbssparams.ssid_len),
                    adapter->curbssparams.ssid_len);
-       lbs_deb_cmd("previous SSID '%s', length %u\n",
-                   escape_essid(adapter->prev_ssid, adapter->prev_ssid_len),
-                   adapter->prev_ssid_len);
 
        adapter->connect_status = LIBERTAS_DISCONNECTED;
 
-       /* Save previous SSID and BSSID for possible reassociation */
-       memcpy(&adapter->prev_ssid, &adapter->curbssparams.ssid,
-              IW_ESSID_MAX_SIZE);
-       adapter->prev_ssid_len = adapter->curbssparams.ssid_len;
-       memcpy(adapter->prev_bssid, adapter->curbssparams.bssid, ETH_ALEN);
-
        /* Clear out associated SSID and BSSID since connection is
         * no longer valid.
         */
diff --git a/drivers/net/wireless/libertas/dev.h 
b/drivers/net/wireless/libertas/dev.h
index 7c565cb..7c0ee0f 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -257,10 +257,6 @@ struct _wlan_adapter {
        /* IW_MODE_* */
        u8 mode;
 
-       u8 prev_ssid[IW_ESSID_MAX_SIZE + 1];
-       u8 prev_ssid_len;
-       u8 prev_bssid[ETH_ALEN];
-
        /* Scan results list */
        struct list_head network_list;
        struct list_head network_free_list;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to