usb: rockchip: remove duplicate assignement.
PATCH 1/1 usb: rockchip: remove duplicate assignement.
Assigning f_rkusb->reboot_flag twice doesn't make sense.
Signed-off-by Heinrich Schuchardt <[email protected]>
--- drivers/usb/gadget/f_rockusb.c | 1 - 1 file changed, 1 deletion(-)
drivers/usb/gadget/f_rockusb.c +0 -1
@@ -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;
Signature · 1 line
2.16.2
PATCH 1/1 usb: rockchip: remove duplicate assignement.
Quoted 7 lines
Assigning
f_rkusb->reboot_flagtwice doesn't make sense.Signed-off-by Heinrich Schuchardt <[email protected]>--- drivers/usb/gadget/f_rockusb.c | 1 - 1 file changed, 1 deletion(-)
Acked-by Philipp Tomsich <[email protected]>
PATCH 1/1 usb: rockchip: remove duplicate assignement.
In reply to Heinrich SchuchardtQuoted 8 lines
Assigning
f_rkusb->reboot_flagtwice doesn't make sense.Signed-off-by Heinrich Schuchardt <[email protected]>Acked-by Philipp Tomsich <[email protected]>--- drivers/usb/gadget/f_rockusb.c | 1 - 1 file changed, 1 deletion(-)
Reviewed-by Philipp Tomsich <[email protected]>
PATCH 1/1 usb: rockchip: remove duplicate assignement.
In reply to Heinrich SchuchardtQuoted 9 lines
Assigning
f_rkusb->reboot_flagtwice doesn't make sense.Signed-off-by Heinrich Schuchardt <[email protected]>Acked-by Philipp Tomsich <[email protected]>Reviewed-by Philipp Tomsich <[email protected]>--- drivers/usb/gadget/f_rockusb.c | 1 - 1 file changed, 1 deletion(-)
Applied to u-boot-rockchip, thanks!
PATCH 1/1 usb: rockchip: remove duplicate assignement.
Quoted 11 lines · Philipp Tomsich
Quoted 9 lines
Assigning
f_rkusb->reboot_flagtwice doesn't make sense.Signed-off-by Heinrich Schuchardt <[email protected]>Acked-by Philipp Tomsich <[email protected]>Reviewed-by Philipp Tomsich <[email protected]>--- drivers/usb/gadget/f_rockusb.c | 1 - 1 file changed, 1 deletion(-)Applied to u-boot-rockchip, thanks!
This should go through Lukasz / usb gadget.
Signature · 2 lines
Best regards, Marek Vasut