staging: rtl8188eu: core: Remove unnecessary parentheses
authorVatsala Narang <vatsalanarang@gmail.com>
Thu, 21 Mar 2019 15:12:45 +0000 (20:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Mar 2019 19:01:43 +0000 (20:01 +0100)
Remove unnecessary parentheses after 'address-of' operator
Issue found with checkpatch.pl

Signed-off-by: Vatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c

index 1fac38cf0d0a13ab575cb73acc630a559fbc9f5f..7e41fbd2b203d80d49854e3ade81c3edf9853b96 100644 (file)
@@ -64,10 +64,10 @@ int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter)
        precvframe = PTR_ALIGN(precvpriv->pallocated_frame_buf, RXFRAME_ALIGN_SZ);
 
        for (i = 0; i < NR_RECVFRAME; i++) {
-               INIT_LIST_HEAD(&(precvframe->list));
+               INIT_LIST_HEAD(&precvframe->list);
 
-               list_add_tail(&(precvframe->list),
-                                    &(precvpriv->free_recv_queue.queue));
+               list_add_tail(&precvframe->list,
+                                    &precvpriv->free_recv_queue.queue);
 
                precvframe->pkt = NULL;
 
@@ -134,9 +134,9 @@ int rtw_free_recvframe(struct recv_frame *precvframe,
 
        spin_lock_bh(&pfree_recv_queue->lock);
 
-       list_del_init(&(precvframe->list));
+       list_del_init(&precvframe->list);
 
-       list_add_tail(&(precvframe->list), get_list_head(pfree_recv_queue));
+       list_add_tail(&precvframe->list, get_list_head(pfree_recv_queue));
 
        spin_unlock_bh(&pfree_recv_queue->lock);