From 63a7578e4e7dc906e75b0bec5a2f3fe41c3720f4 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 6 Sep 2016 22:17:38 +0900 Subject: arch, board: squash lines for immediate return Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada Reviewed-by: Minkyu Kang Reviewed-by: Angelo Dureghello --- arch/xtensa/lib/time.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'arch/xtensa') diff --git a/arch/xtensa/lib/time.c b/arch/xtensa/lib/time.c index 1332072ffe..915eb5185b 100644 --- a/arch/xtensa/lib/time.c +++ b/arch/xtensa/lib/time.c @@ -104,10 +104,7 @@ unsigned long long get_ticks(void) */ ulong get_tbclk(void) { - ulong tbclk; - - tbclk = CONFIG_SYS_HZ; - return tbclk; + return CONFIG_SYS_HZ; } #if XCHAL_HAVE_CCOUNT -- cgit v1.2.3