]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: dsa: rtl8366rb: remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 8 Oct 2021 06:21:17 +0000 (14:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2021 14:08:49 +0000 (15:08 +0100)
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>
drivers/net/dsa/rtl8366rb.c

index d2370cda4be085ea6389b8604aead6c61f9f3382..03deacd83e613056c68f854cf886c6446da0b2bf 100644 (file)
@@ -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++) {