]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
HID: mcp2221: Remove unnecessary semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 9 Jul 2024 01:22:23 +0000 (09:22 +0800)
committerBenjamin Tissoires <bentiss@kernel.org>
Fri, 12 Jul 2024 16:30:11 +0000 (18:30 +0200)
Remove unnecessary semicolon at the end of the switch statement.
This is detected by coccinelle.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://patch.msgid.link/20240709012223.17393-1-nichen@iscas.ac.cn
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/hid-mcp2221.c

index da5ea5a23b087cde332ed28bf21a542c758e8919..0f93c22a479f33a7ec0b8c0c32de8f0d9958ef79 100644 (file)
@@ -1048,7 +1048,7 @@ static int mcp_iio_channels(struct mcp2221 *mcp)
                        break;
                default:
                        continue;
-               };
+               }
 
                chan->type = IIO_VOLTAGE;
                chan->indexed = 1;