Staging: rtl8723au: rtl8723a_rf6052: Remove unnecessary semicolon.
authorSandhya Bankar <bankarsandhya512@gmail.com>
Fri, 18 Mar 2016 03:56:02 +0000 (09:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
Remove unnecessary semicolon.

Coccinelle sementic patch as follows:
@r_case@
position p;
@@
switch (...)
{
case ...: ...;@p
}

@r_default@
position p;
@@
switch (...)
{
default: ...;@p
}

@r1@
statement S;
position p1;
position p != {r_case.p, r_default.p};
identifier label;
@@
(
label:;
|
S@p1;@p
)

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c

index ce0d8d89478707153e462089cf439a3bb2c828d9..24c0ff3d82bc5c520fe10344a959c5e859f17d84 100644 (file)
@@ -465,7 +465,7 @@ static int phy_RF6052_Config_ParaFile(struct rtw_adapter *Adapter)
                        break;
                }
 
-               /*----Restore RFENV control type----*/;
+               /*----Restore RFENV control type----*/
                switch (eRFPath) {
                case RF_PATH_A:
                        PHY_SetBBReg(Adapter, pPhyReg->rfintfs,