projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: gadget: f_fs: remove redundant ffs_data_get()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
gadget
/
function
/
f_fs.c
diff --git
a/drivers/usb/gadget/function/f_fs.c
b/drivers/usb/gadget/function/f_fs.c
index 7c6771d027a222f33dc472a71ff400995749e0b7..12dbdafd78a8ba345bf6d50c7a0e32ae4100a43e 100644
(file)
--- a/
drivers/usb/gadget/function/f_fs.c
+++ b/
drivers/usb/gadget/function/f_fs.c
@@
-2663,8
+2663,6
@@
static inline struct f_fs_opts *ffs_do_functionfs_bind(struct usb_function *f,
func->conf = c;
func->gadget = c->cdev->gadget;
- ffs_data_get(func->ffs);
-
/*
* in drivers/usb/gadget/configfs.c:configfs_composite_bind()
* configurations are bound in sequence with list_for_each_entry,