usb: gadget: f_fs: remove unneeded semicolon in __ffs_data_got_descs()
authorJason Yan <yanaijie@huawei.com>
Sat, 18 Apr 2020 08:18:07 +0000 (16:18 +0800)
committerFelipe Balbi <balbi@kernel.org>
Mon, 25 May 2020 08:09:38 +0000 (11:09 +0300)
Fix the following coccicheck warning:

drivers/usb/gadget/function/f_fs.c:2507:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/function/f_fs.c

index 10f01f9..494f853 100644 (file)
@@ -2508,7 +2508,7 @@ static int __ffs_data_got_descs(struct ffs_data *ffs,
                os_descs_count = get_unaligned_le32(data);
                data += 4;
                len -= 4;
-       };
+       }
 
        /* Read descriptors */
        raw_descs = data;