OSDN Git Service

staging: rtl8723bs: Remove unnecessary semicolon.
authorArushi Singhal <arushisinghal19971997@gmail.com>
Sat, 3 Mar 2018 19:17:26 +0000 (00:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 12:07:48 +0000 (04:07 -0800)
Remove unnecessary semicolon using semicolon.cocci Coccinelle script.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_recv.c
drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c

index 9c7c3be..86f995b 100644 (file)
@@ -1785,7 +1785,7 @@ static union recv_frame *recvframe_defrag(struct adapter *adapter,
                pfhdr->attrib.icv_len = pnfhdr->attrib.icv_len;
                plist = get_next(plist);
 
-       };
+       }
 
        /* free the defrag_q queue and return the prframe */
        rtw_free_recvframe_queue(defrag_q, pfree_recv_queue);
index a71b552..f6aeb26 100644 (file)
@@ -163,7 +163,7 @@ static int phy_RF6052_Config_ParaFile(struct adapter *Adapter)
                        break;
                }
 
-               /*----Restore RFENV control type----*/;
+               /*----Restore RFENV control type----*/
                switch (eRFPath) {
                case RF_PATH_A:
                case RF_PATH_C: