From: Wu Fengguang Date: Tue, 7 Feb 2017 19:42:05 +0000 (+0800) Subject: net: qcom/emac: fix semicolon.cocci warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3c19bd6c52d441893ba19b3418825b27cfa4fd9c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: qcom/emac: fix semicolon.cocci warnings 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 Signed-off-by: Fengguang Wu Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/qualcomm/emac/emac-ethtool.c b/drivers/net/ethernet/qualcomm/emac/emac-ethtool.c index c418a6e9a591..ca616fd93312 100644 --- a/drivers/net/ethernet/qualcomm/emac/emac-ethtool.c +++ b/drivers/net/ethernet/qualcomm/emac/emac-ethtool.c @@ -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,