* [PATCH] net: qcom/emac: fix semicolon.cocci warnings
[not found] <201702080337.4IVnIpzh%fengguang.wu@intel.com>
@ 2017-02-07 19:42 ` kbuild test robot
2017-02-08 18:40 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-02-07 19:42 UTC (permalink / raw)
To: Timur Tabi; +Cc: kbuild-all, netdev, linux-kernel
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>
---
emac-ethtool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 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 n
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,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net: qcom/emac: fix semicolon.cocci warnings
2017-02-07 19:42 ` [PATCH] net: qcom/emac: fix semicolon.cocci warnings kbuild test robot
@ 2017-02-08 18:40 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-02-08 18:40 UTC (permalink / raw)
To: fengguang.wu; +Cc: timur, kbuild-all, netdev, linux-kernel
From: kbuild test robot <fengguang.wu@intel.com>
Date: Wed, 8 Feb 2017 03:42:05 +0800
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-08 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <201702080337.4IVnIpzh%fengguang.wu@intel.com>
2017-02-07 19:42 ` [PATCH] net: qcom/emac: fix semicolon.cocci warnings kbuild test robot
2017-02-08 18:40 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).