[U-Boot] [PATCH] usb: zynqmp: Fix build warnings

Marek Vasut marex at denx.de
Mon Nov 30 18:19:07 CET 2015


The driver does "return 0" in function with void type.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Michal Simek <monstr at monstr.eu>
Cc: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
---
 drivers/usb/host/xhci-zynqmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/xhci-zynqmp.c b/drivers/usb/host/xhci-zynqmp.c
index e76a0c6..530d97c 100644
--- a/drivers/usb/host/xhci-zynqmp.c
+++ b/drivers/usb/host/xhci-zynqmp.c
@@ -139,5 +139,5 @@ void xhci_hcd_stop(int index)
 	 * sw. But this support may be added in future socs.
 	 */
 
-	return 0;
+	return;
 }
-- 
2.1.4



More information about the U-Boot mailing list