aboutsummaryrefslogtreecommitdiff
path: root/board/ti/omap5_uevm
diff options
context:
space:
mode:
authorMasahiro Yamada2016-09-06 22:17:38 +0900
committerTom Rini2016-09-23 17:53:53 -0400
commit63a7578e4e7dc906e75b0bec5a2f3fe41c3720f4 (patch)
tree3c8e952ed36bd39aa138f5edf476e17d73fbea63 /board/ti/omap5_uevm
parent7dc0789579b17859c61c085e4562b7985f05cc4d (diff)
arch, board: squash lines for immediate return
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com> Reviewed-by: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'board/ti/omap5_uevm')
-rw-r--r--board/ti/omap5_uevm/evm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c
index 50da4109bb8..b5d5ba9bdf9 100644
--- a/board/ti/omap5_uevm/evm.c
+++ b/board/ti/omap5_uevm/evm.c
@@ -245,10 +245,7 @@ int ehci_hcd_init(int index, enum usb_init_type init,
int ehci_hcd_stop(void)
{
- int ret;
-
- ret = omap_ehci_hcd_stop();
- return ret;
+ return omap_ehci_hcd_stop();
}
void usb_hub_reset_devices(int port)