]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8188eu: core: rtw_recv.c: fix a paranthesis issue around pframe -> list...
authorSanjana Sanikommu <sanjana99reddy99@gmail.com>
Sun, 17 Mar 2019 15:35:02 +0000 (21:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:50:13 +0000 (07:50 +0100)
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>
drivers/staging/rtl8188eu/core/rtw_recv.c

index bf9c95395844d4830f30a7b015ec2a27b566be36..7120034867f55c8bbf1aa5912479109f8631a5cd 100644 (file)
@@ -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;