HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44287 )
Change subject: drivers/usb/ehci_debug.c: Remove dead assignment ......................................................................
drivers/usb/ehci_debug.c: Remove dead assignment
Change-Id: Id175f5a8087dd2751db3449fcb169372e2b534b2 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/drivers/usb/ehci_debug.c 1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/44287/1
diff --git a/src/drivers/usb/ehci_debug.c b/src/drivers/usb/ehci_debug.c index 5998172..81322a6 100644 --- a/src/drivers/usb/ehci_debug.c +++ b/src/drivers/usb/ehci_debug.c @@ -558,7 +558,6 @@ if ((ctrl & DBGP_CLAIM) != DBGP_CLAIM) { dprintk(BIOS_INFO, "No device in EHCI debug port.\n"); write32(&ehci_debug->control, ctrl & ~DBGP_CLAIM); - ret = -4; goto err; } dprintk(BIOS_INFO, "EHCI debug port enabled.\n"); @@ -569,7 +568,6 @@ ret = dbgp_probe_gadget(port, &info->ep_pipe[0]); if (ret < 0) { dprintk(BIOS_INFO, "Could not probe gadget on debug port.\n"); - ret = -6; goto err; }