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-Tag: v4.14-rc1~7083^2~39^2~977 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d8b411b33ca7c5a08ce6617a168810da2d97ddb;p=platform%2Fkernel%2Flinux-rpi.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 656eb0f..71addf6 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;