[PATCH] net: dsa: rtl8366rb: fix semicolon.cocci warnings
kernel test robot
lkp at intel.com
Fri Oct 8 15:31:17 PDT 2021
From: kernel test robot <lkp at intel.com>
drivers/net/dsa/rtl8366rb.c:1396:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Fixes: 43b589a754b5 ("net: dsa: rtl8366rb: Support setting STP state")
Reported-by: kernel test robot <lkp at intel.com>
Signed-off-by: kernel test robot <lkp at intel.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git rtl8366rb
head: 292e7b7473f10676f1e9076ec16b02fdfc0faaac
commit: 43b589a754b58fe33e759e824fda9ab0721e4cd0 [12/14] net: dsa: rtl8366rb: Support setting STP state
:::::: branch date: 9 days ago
:::::: commit date: 9 days ago
rtl8366rb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/dsa/rtl8366rb.c
+++ b/drivers/net/dsa/rtl8366rb.c
@@ -1393,7 +1393,7 @@ rtl8366rb_port_stp_state_set(struct dsa_
default:
dev_err(smi->dev, "unknown bridge state requested\n");
return;
- };
+ }
mask = (RTL8368S_SPT_STATE_MSK << (port * 2));
val <<= (port * 2);
More information about the linux-arm-kernel
mailing list