diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2017-02-08 03:42:05 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-08 13:38:44 -0500 |
commit | 3c19bd6c52d441893ba19b3418825b27cfa4fd9c (patch) | |
tree | 782adc85fc872099fa2163491e27465560f661c2 | |
parent | 04d8a0a5f3b6887543850d991a5e37c4ec90e250 (diff) | |
download | lwn-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>
-rw-r--r-- | drivers/net/ethernet/qualcomm/emac/emac-ethtool.c | 2 |
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, |