kernel/drivers/usb/gadget/legacy/acm_ms.c
.. .. @@ -105,15 +105,12 @@ 105 105 */ 106 106 static int acm_ms_do_config(struct usb_configuration *c) 107 107 { 108 - struct fsg_opts *opts;109 108 int status; 110 109 111 110 if (gadget_is_otg(c->cdev->gadget)) { 112 111 c->descriptors = otg_desc; 113 112 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; 114 113 } 115 -116 - opts = fsg_opts_from_func_inst(fi_msg);117 114 118 115 f_acm = usb_get_function(f_acm_inst); 119 116 if (IS_ERR(f_acm))