summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2017-02-07 20:42:05 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-08 19:38:44 +0100
commit3c19bd6c52d441893ba19b3418825b27cfa4fd9c (patch)
tree782adc85fc872099fa2163491e27465560f661c2
parentnet: phy: Add LED mode driver for Microsemi PHYs. (diff)
downloadlinux-3c19bd6c52d441893ba19b3418825b27cfa4fd9c.tar.xz
linux-3c19bd6c52d441893ba19b3418825b27cfa4fd9c.zip
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 <timur@codeaurora.org> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/qualcomm/emac/emac-ethtool.c2
1 files changed, 1 insertions, 1 deletions
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,