OSDN Git Service

staging: rtl8723au: Remove some unused lists from struct sta_priv
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:04:22 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:12:02 +0000 (13:12 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_sta_mgt.c
drivers/staging/rtl8723au/include/sta_info.h

index 403dc8e..7f1f66c 100644 (file)
@@ -54,8 +54,6 @@ u32 _rtw_init_sta_priv23a(struct sta_priv *pstapriv)
 
        spin_lock_init(&pstapriv->sta_hash_lock);
        pstapriv->asoc_sta_count = 0;
-       _rtw_init_queue23a(&pstapriv->sleep_q);
-       _rtw_init_queue23a(&pstapriv->wakeup_q);
        for (i = 0; i < NUM_STA; i++)
                INIT_LIST_HEAD(&pstapriv->sta_hash[i]);
 
index 195a349..3bd8f44 100644 (file)
@@ -314,8 +314,6 @@ struct sta_priv {
        spinlock_t sta_hash_lock;
        struct list_head sta_hash[NUM_STA];
        int asoc_sta_count;
-       struct rtw_queue sleep_q;
-       struct rtw_queue wakeup_q;
 
        struct rtw_adapter *padapter;
        struct list_head asoc_list;