Skip to contentSkip to conversation

usb: gadget: f_fs: remove unneeded semicolon in __ffs_data_got_descs()

PATCH New Jason Yan 1 participant 1 message Apr 18, 2020 USB

lore
Share & tools
lore

Jason Yan

author
#0 lore raw

PATCH 1/1 usb: gadget: f_fs: remove unneeded semicolon in __ffs_data_got_descs()

Fix the following coccicheck warning:

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

---
 drivers/usb/gadget/function/f_fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/function/f_fs.c +1 -1
index 10f01f974f67..494f853f2206 100644
@@ -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;
Signature · 1 line
2.21.1