diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-10-08 09:21:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-08 17:08:49 +0300 |
commit | 339e75f6b9a076b3a9c01ab4bdd4f58975098445 (patch) | |
tree | dd110ac45b9900686aa108f3d345baa1a6598ec6 /drivers/net/dsa/rtl8366rb.c | |
parent | 38d7b029130e207c9c66daead99d6118eebbb8c9 (diff) | |
download | linux-339e75f6b9a076b3a9c01ab4bdd4f58975098445.tar.xz |
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/net/dsa/rtl8366rb.c')
-rw-r--r-- | drivers/net/dsa/rtl8366rb.c | 2 |
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++) { |