usb: gadget: f_fs: remove redundant ffs_data_get()
[firefly-linux-kernel-4.4.55.git] / drivers / usb / gadget / function / f_fs.c
index 7c6771d027a222f33dc472a71ff400995749e0b7..12dbdafd78a8ba345bf6d50c7a0e32ae4100a43e 100644 (file)
@@ -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,