mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
staging: rtl8188eu: core: rtw_recv.c: Remove Unnecessary parentheses
Remove Unnecessary parentheses around precvframe->list, pmlmeext->mlmext_info and precvpriv->free_recv_queue Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Link: https://lore.kernel.org/r/20190803064408.GA30111@saurav Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b35105a3a3
commit
8ca9d8ad30
@ -145,8 +145,8 @@ int rtw_free_recvframe(struct recv_frame *precvframe,
|
||||
|
||||
int _rtw_enqueue_recvframe(struct recv_frame *precvframe, struct __queue *queue)
|
||||
{
|
||||
list_del_init(&(precvframe->list));
|
||||
list_add_tail(&(precvframe->list), get_list_head(queue));
|
||||
list_del_init(&precvframe->list);
|
||||
list_add_tail(&precvframe->list, get_list_head(queue));
|
||||
|
||||
return _SUCCESS;
|
||||
}
|
||||
@ -219,7 +219,7 @@ static int recvframe_chkmic(struct adapter *adapter,
|
||||
struct security_priv *psecuritypriv = &adapter->securitypriv;
|
||||
|
||||
struct mlme_ext_priv *pmlmeext = &adapter->mlmeextpriv;
|
||||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info;
|
||||
|
||||
stainfo = rtw_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]);
|
||||
|
||||
@ -1500,7 +1500,7 @@ static int amsdu_to_msdu(struct adapter *padapter, struct recv_frame *prframe)
|
||||
struct rx_pkt_attrib *pattrib;
|
||||
struct sk_buff *sub_skb, *subframes[MAX_SUBFRAME_COUNT];
|
||||
struct recv_priv *precvpriv = &padapter->recvpriv;
|
||||
struct __queue *pfree_recv_queue = &(precvpriv->free_recv_queue);
|
||||
struct __queue *pfree_recv_queue = &precvpriv->free_recv_queue;
|
||||
|
||||
nr_subframes = 0;
|
||||
pattrib = &prframe->attrib;
|
||||
|
Loading…
Reference in New Issue
Block a user