Message ID | 20221021085727.118133-1-yang.lee@linux.alibaba.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Jiri Kosina |
Headers | show |
Series | [-next,RESEND] HID: mcp2221: Remove unneeded semicolon | expand |
diff --git a/drivers/hid/hid-mcp2221.c b/drivers/hid/hid-mcp2221.c index b3eaf170f0ec..9287730aab27 100644 --- a/drivers/hid/hid-mcp2221.c +++ b/drivers/hid/hid-mcp2221.c @@ -1019,7 +1019,7 @@ static int mcp_iio_channels(struct mcp2221 *mcp) break; default: continue; - }; + } chan->type = IIO_VOLTAGE; chan->indexed = 1;
./drivers/hid/hid-mcp2221.c:1019:3-4: Unneeded semicolon Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2485 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> --- drivers/hid/hid-mcp2221.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)