Commit 3c19bd6c authored by Wu Fengguang's avatar Wu Fengguang Committed by David S. Miller

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 04d8a0a5
...@@ -152,7 +152,7 @@ static void emac_get_pauseparam(struct net_device *netdev, ...@@ -152,7 +152,7 @@ static void emac_get_pauseparam(struct net_device *netdev,
pause->autoneg = adpt->automatic ? AUTONEG_ENABLE : AUTONEG_DISABLE; pause->autoneg = adpt->automatic ? AUTONEG_ENABLE : AUTONEG_DISABLE;
pause->rx_pause = adpt->rx_flow_control ? 1 : 0; 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, static int emac_set_pauseparam(struct net_device *netdev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment