OSDN Git Service

Staging: netlogic: Replace comma with a semicolon
authorShraddha Barke <shraddha.6596@gmail.com>
Tue, 4 Aug 2015 17:50:52 +0000 (23:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 19:18:01 +0000 (12:18 -0700)
Replace comma between expression statements by a semicolon.
The semantic patch used is as follows:

@@
expression e1,e2;
@@
e1
- ,
+ ;
e2;

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/netlogic/platform_net.c

index 77c3c35..e914147 100644 (file)
@@ -163,7 +163,7 @@ static void xls_gmac_init(void)
        switch (nlm_prom_info.board_major_version) {
        case 12:
                /* first block RGMII or XAUI, use RGMII */
-               ndata0.phy_interface = PHY_INTERFACE_MODE_RGMII,
+               ndata0.phy_interface = PHY_INTERFACE_MODE_RGMII;
                ndata0.tx_stnid[0] = FMN_STNID_GMAC0_TX0;
                ndata0.phy_addr[0] = 0;