aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-10-08 14:21:17 +0800
committerDavid S. Miller <davem@davemloft.net>2021-10-08 15:08:49 +0100
commit339e75f6b9a076b3a9c01ab4bdd4f58975098445 (patch)
treedd110ac45b9900686aa108f3d345baa1a6598ec6 /drivers
parentMerge branch 'dev_addr-helpers' (diff)
downloadlinux-dev-339e75f6b9a076b3a9c01ab4bdd4f58975098445.tar.xz
linux-dev-339e75f6b9a076b3a9c01ab4bdd4f58975098445.zip
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 <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/dsa/rtl8366rb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/rtl8366rb.c b/drivers/net/dsa/rtl8366rb.c
index d2370cda4be0..03deacd83e61 100644
--- a/drivers/net/dsa/rtl8366rb.c
+++ b/drivers/net/dsa/rtl8366rb.c
@@ -1345,7 +1345,7 @@ rtl8366rb_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
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++) {