From: Jes Sorensen Date: Fri, 9 May 2014 13:03:44 +0000 (+0200) Subject: staging: rtl8723au: rtw_alloc_stainfo23a(): Remove unused variable tmp_aid X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5d8b411b33ca7c5a08ce6617a168810da2d97ddb;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8723au: rtw_alloc_stainfo23a(): Remove unused variable tmp_aid Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_sta_mgt.c b/drivers/staging/rtl8723au/core/rtw_sta_mgt.c index 656eb0f28dd3..71addf6ec14e 100644 --- a/drivers/staging/rtl8723au/core/rtw_sta_mgt.c +++ b/drivers/staging/rtl8723au/core/rtw_sta_mgt.c @@ -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;