staging: rtl8723au: rtw_alloc_stainfo23a(): Remove unused variable tmp_aid
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:44 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:59 +0000 (13:11 -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

index 656eb0f28dd35b0e1b08611a494cdd3960e19c31..71addf6ec14ea42d276c9a2162746cb8c08cffc9 100644 (file)
@@ -169,7 +169,6 @@ struct      sta_info *rtw_alloc_stainfo23a(struct sta_priv *pstapriv, u8 *hwaddr)
        struct sta_info *psta;
        struct rtw_queue *pfree_sta_queue;
        struct recv_reorder_ctrl *preorder_ctrl;
-       uint tmp_aid;
        s32     index;
        int i = 0;
        u16  wRxSeqInitialValue = 0xffff;
@@ -186,8 +185,6 @@ struct      sta_info *rtw_alloc_stainfo23a(struct sta_priv *pstapriv, u8 *hwaddr)
 
        list_del_init(&psta->list);
 
-       tmp_aid = psta->aid;
-
        _rtw_init_stainfo(psta);
 
        psta->padapter = pstapriv->padapter;