summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/f_rockusb.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-03-29 08:25:56 -0400
committerTom Rini <trini@konsulko.com>2018-03-29 08:25:56 -0400
commit2476d26fd307edc84e8257dc1bccefb65547f88a (patch)
treed3902f654ff75f2555841cf4594ef01dc1d9f0b9 /drivers/usb/gadget/f_rockusb.c
parent81cf7c8d45935a295991fe2cd1df286f0f47511f (diff)
parent6837c58666165b7b040bf5a5b9dfebc8354f5883 (diff)
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'drivers/usb/gadget/f_rockusb.c')
-rw-r--r--drivers/usb/gadget/f_rockusb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_rockusb.c b/drivers/usb/gadget/f_rockusb.c
index d5a10f1904..ad3ae91e6d 100644
--- a/drivers/usb/gadget/f_rockusb.c
+++ b/drivers/usb/gadget/f_rockusb.c
@@ -552,7 +552,6 @@ static void cb_reboot(struct usb_ep *ep, struct usb_request *req)
sizeof(struct fsg_bulk_cb_wrap));
struct f_rockusb *f_rkusb = get_rkusb();
- f_rkusb->reboot_flag = 0;
memcpy((char *)cbw, req->buf, USB_BULK_CB_WRAP_LEN);
f_rkusb->reboot_flag = cbw->CDB[1];
rockusb_func->in_req->complete = compl_do_reset;