aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/gadget/f_mass_storage.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/gadget/f_mass_storage.c b/drivers/usb/gadget/f_mass_storage.c
index 8a95ebc7e3d3..fa86b946dcd6 100644
--- a/drivers/usb/gadget/f_mass_storage.c
+++ b/drivers/usb/gadget/f_mass_storage.c
@@ -333,7 +333,6 @@ struct fsg_common {
333 struct usb_ep *ep0; /* Copy of gadget->ep0 */ 333 struct usb_ep *ep0; /* Copy of gadget->ep0 */
334 struct usb_request *ep0req; /* Copy of cdev->req */ 334 struct usb_request *ep0req; /* Copy of cdev->req */
335 unsigned int ep0_req_tag; 335 unsigned int ep0_req_tag;
336 const char *ep0req_name;
337 336
338 struct fsg_buffhd *next_buffhd_to_fill; 337 struct fsg_buffhd *next_buffhd_to_fill;
339 struct fsg_buffhd *next_buffhd_to_drain; 338 struct fsg_buffhd *next_buffhd_to_drain;
@@ -623,8 +622,6 @@ static int fsg_setup(struct usb_function *f,
623 622
624 /* Respond with data/status */ 623 /* Respond with data/status */
625 req->length = min((u16)1, w_length); 624 req->length = min((u16)1, w_length);
626 fsg->common->ep0req_name =
627 ctrl->bRequestType & USB_DIR_IN ? "ep0-in" : "ep0-out";
628 return ep0_queue(fsg->common); 625 return ep0_queue(fsg->common);
629 } 626 }
630 627