staging: rtl8188eu: core: rtw_recv.c: fix a paranthesis issue around pframe -> list in rtw_recv.c
Remove unnecessary parathesis issue around '->' . Issue found by checkpatch.pl semantic patch results for rtw_recv.c CHECK: Remove unnecessary paranthesis around pframe -> list Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
0842eabb6f
Коммит
5c4f225918
|
@ -1336,7 +1336,7 @@ static struct recv_frame *recvframe_defrag(struct adapter *adapter,
|
|||
plist = phead->next;
|
||||
pfhdr = list_entry(plist, struct recv_frame, list);
|
||||
prframe = pfhdr;
|
||||
list_del_init(&(prframe->list));
|
||||
list_del_init(&prframe->list);
|
||||
|
||||
if (curfragnum != pfhdr->attrib.frag_num) {
|
||||
/* the first fragment number must be 0 */
|
||||
|
@ -1663,9 +1663,9 @@ static int enqueue_reorder_recvframe(struct recv_reorder_ctrl *preorder_ctrl,
|
|||
break;
|
||||
}
|
||||
|
||||
list_del_init(&(prframe->list));
|
||||
list_del_init(&prframe->list);
|
||||
|
||||
list_add_tail(&(prframe->list), plist);
|
||||
list_add_tail(&prframe->list, plist);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1704,7 +1704,7 @@ static int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reor
|
|||
("%s: indicate=%d seq=%d amsdu=%d\n",
|
||||
__func__, preorder_ctrl->indicate_seq, pattrib->seq_num, pattrib->amsdu));
|
||||
plist = plist->next;
|
||||
list_del_init(&(prframe->list));
|
||||
list_del_init(&prframe->list);
|
||||
|
||||
if (SN_EQUAL(preorder_ctrl->indicate_seq, pattrib->seq_num))
|
||||
preorder_ctrl->indicate_seq = (preorder_ctrl->indicate_seq + 1) & 0xFFF;
|
||||
|
|
Загрузка…
Ссылка в новой задаче