2021-10-08 06:25:54

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] net: dsa: rtl8366rb: remove unneeded semicolon

Eliminate the following coccicheck warning:
./drivers/net/dsa/rtl8366rb.c:1348:2-3: Unneeded semicolon

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
drivers/net/dsa/rtl8366rb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dsa/rtl8366rb.c b/drivers/net/dsa/rtl8366rb.c
index d2370cd..03deacd 100644
--- a/drivers/net/dsa/rtl8366rb.c
+++ b/drivers/net/dsa/rtl8366rb.c
@@ -1345,7 +1345,7 @@ static int rtl8366rb_vlan_filtering(struct dsa_switch *ds, int port,
default:
dev_err(smi->dev, "unknown bridge state requested\n");
return;
- };
+ }

/* Set the same status for the port on all the FIDs */
for (i = 0; i < RTL8366RB_NUM_FIDS; i++) {
--
1.8.3.1


2021-10-08 14:11:59

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH -next] net: dsa: rtl8366rb: remove unneeded semicolon

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <[email protected]>:

On Fri, 8 Oct 2021 14:21:17 +0800 you wrote:
> Eliminate the following coccicheck warning:
> ./drivers/net/dsa/rtl8366rb.c:1348:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
> ---
> drivers/net/dsa/rtl8366rb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [-next] net: dsa: rtl8366rb: remove unneeded semicolon
https://git.kernel.org/netdev/net-next/c/339e75f6b9a0

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