summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qualcomm/emac/emac-ethtool.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2017-02-08 03:42:05 +0800
committerDavid S. Miller <davem@davemloft.net>2017-02-08 13:38:44 -0500
commit3c19bd6c52d441893ba19b3418825b27cfa4fd9c (patch)
tree782adc85fc872099fa2163491e27465560f661c2 /drivers/net/ethernet/qualcomm/emac/emac-ethtool.c
parent04d8a0a5f3b6887543850d991a5e37c4ec90e250 (diff)
downloadlwn-3c19bd6c52d441893ba19b3418825b27cfa4fd9c.tar.gz
lwn-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>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/emac/emac-ethtool.c')
-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,