Skip to content

Commit ad1ff1f

Browse files
Chen NiBenjamin Tissoires
authored andcommitted
HID: mcp2221: Remove unnecessary semicolon
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>
1 parent 061d1af commit ad1ff1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hid/hid-mcp2221.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ static int mcp_iio_channels(struct mcp2221 *mcp)
10481048
break;
10491049
default:
10501050
continue;
1051-
};
1051+
}
10521052

10531053
chan->type = IIO_VOLTAGE;
10541054
chan->indexed = 1;

0 commit comments

Comments
 (0)