mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
usb: rockchip: remove duplicate assignement.
Assigning f_rkusb->reboot_flag twice doesn't make sense. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
2ebc80e83c
commit
e56a713eac
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue