提交 3c19bd6c 编写于 作者: W Wu Fengguang 提交者: 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: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册