2021-04-14 15:30:08

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] sfc: Remove duplicate argument

Fix the following coccicheck warning:

./drivers/net/ethernet/sfc/enum.h:80:7-28: duplicated argument to |

Signed-off-by: Wan Jiabing <[email protected]>
---
drivers/net/ethernet/sfc/enum.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/sfc/enum.h b/drivers/net/ethernet/sfc/enum.h
index 3332cdf2918a..cd590e0685e5 100644
--- a/drivers/net/ethernet/sfc/enum.h
+++ b/drivers/net/ethernet/sfc/enum.h
@@ -78,7 +78,6 @@ enum efx_loopback_mode {
(1 << LOOPBACK_XAUI) | \
(1 << LOOPBACK_GMII) | \
(1 << LOOPBACK_SGMII) | \
- (1 << LOOPBACK_SGMII) | \
(1 << LOOPBACK_XGBR) | \
(1 << LOOPBACK_XFI) | \
(1 << LOOPBACK_XAUI_FAR) | \
--
2.25.1


2021-04-15 00:49:12

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] sfc: Remove duplicate argument

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Wed, 14 Apr 2021 19:06:45 +0800 you wrote:
> Fix the following coccicheck warning:
>
> ./drivers/net/ethernet/sfc/enum.h:80:7-28: duplicated argument to |
>
> Signed-off-by: Wan Jiabing <[email protected]>
> ---
> drivers/net/ethernet/sfc/enum.h | 1 -
> 1 file changed, 1 deletion(-)

Here is the summary with links:
- sfc: Remove duplicate argument
https://git.kernel.org/netdev/net-next/c/ace8d281aa71

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html