Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
drivers
/
usb
/
gadget
/
legacy
/
nokia.c
diff --git
a/kernel/drivers/usb/gadget/legacy/nokia.c
b/kernel/drivers/usb/gadget/legacy/nokia.c
index
8b3f6fb
..
05d3f79
100644
(file)
--- a/
kernel/drivers/usb/gadget/legacy/nokia.c
+++ b/
kernel/drivers/usb/gadget/legacy/nokia.c
@@
-152,7
+152,6
@@
static int nokia_bind_config(struct usb_configuration *c)
struct usb_function *f_ecm;
struct usb_function *f_obex2 = NULL;
struct usb_function *f_msg;
struct usb_function *f_ecm;
struct usb_function *f_obex2 = NULL;
struct usb_function *f_msg;
- struct fsg_opts *fsg_opts;
int status = 0;
int obex1_stat = -1;
int obex2_stat = -1;
int status = 0;
int obex1_stat = -1;
int obex2_stat = -1;
@@
-222,12
+221,6
@@
static int nokia_bind_config(struct usb_configuration *c)
goto err_ecm;
}
goto err_ecm;
}
- fsg_opts = fsg_opts_from_func_inst(fi_msg);
-
- status = fsg_common_run_thread(fsg_opts->common);
- if (status)
- goto err_msg;
-
status = usb_add_function(c, f_msg);
if (status)
goto err_msg;
status = usb_add_function(c, f_msg);
if (status)
goto err_msg;