net: qcom/emac: fix semicolon.cocci warnings
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 7 Feb 2017 19:42:05 +0000 (03:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Feb 2017 18:38:44 +0000 (13:38 -0500)
drivers/net/ethernet/qualcomm/emac/emac-ethtool.c:155:49-50: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Timur Tabi <timur@codeaurora.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-ethtool.c

index c418a6e9a591e0711b8a0f961c7d84eaf7fb7ef4..ca616fd9331290489374390488925f1f89c52bb0 100644 (file)
@@ -152,7 +152,7 @@ static void emac_get_pauseparam(struct net_device *netdev,
 
        pause->autoneg = adpt->automatic ? AUTONEG_ENABLE : AUTONEG_DISABLE;
        pause->rx_pause = adpt->rx_flow_control ? 1 : 0;
-       pause->tx_pause = adpt->tx_flow_control ? 1 : 0;;
+       pause->tx_pause = adpt->tx_flow_control ? 1 : 0;
 }
 
 static int emac_set_pauseparam(struct net_device *netdev,