]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
net: qcom/emac: fix semicolon.cocci warnings
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 7 Feb 2017 19:42:05 +0000 (03:42 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 23 Feb 2017 20:29:33 +0000 (14:29 -0600)
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>
(cherry picked from commit 3c19bd6c52d441893ba19b3418825b27cfa4fd9c)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
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,