linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sfc: Remove duplicate argument
@ 2021-04-14 11:06 Wan Jiabing
  2021-04-14 21:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-04-14 11:06 UTC (permalink / raw)
  To: Edward Cree, Martin Habets, David S. Miller, Jakub Kicinski,
	netdev, linux-kernel
  Cc: kael_w, Wan Jiabing

Fix the following coccicheck warning:

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

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sfc: Remove duplicate argument
  2021-04-14 11:06 [PATCH] sfc: Remove duplicate argument Wan Jiabing
@ 2021-04-14 21:10 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-04-14 21:10 UTC (permalink / raw)
  To: Wan Jiabing
  Cc: ecree.xilinx, habetsm.xilinx, davem, kuba, netdev, linux-kernel, kael_w

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 <wanjiabing@vivo.com>
> ---
>  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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-14 21:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 11:06 [PATCH] sfc: Remove duplicate argument Wan Jiabing
2021-04-14 21:10 ` patchwork-bot+netdevbpf

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).