All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] net: dsa: rtl8366rb: remove unneeded semicolon
@ 2021-10-08  6:21 Yang Li
  2021-10-08 14:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2021-10-08  6:21 UTC (permalink / raw)
  To: davem
  Cc: kuba, olteanv, f.fainelli, vivien.didelot, andrew, linus.walleij,
	netdev, linux-kernel, Yang Li

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 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


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08  6:21 [PATCH -next] net: dsa: rtl8366rb: remove unneeded semicolon Yang Li
2021-10-08 14:10 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.