projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bcf42d
)
usb: gadget: f_fs: remove unneeded semicolon in __ffs_data_got_descs()
author
Jason Yan
<yanaijie@huawei.com>
Sat, 18 Apr 2020 08:18:07 +0000
(16:18 +0800)
committer
Felipe 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
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/function/f_fs.c
b/drivers/usb/gadget/function/f_fs.c
index 10f01f974f67e071031b7ac4976d669b393d8f53..494f853f2206a1ca0bd54053152ad3bab3df622f 100644
(file)
--- a/
drivers/usb/gadget/function/f_fs.c
+++ b/
drivers/usb/gadget/function/f_fs.c
@@
-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;