diff options
| author | Masahiro Yamada <[email protected]> | 2016-09-06 22:17:38 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-09-23 17:53:53 -0400 |
| commit | 63a7578e4e7dc906e75b0bec5a2f3fe41c3720f4 (patch) | |
| tree | 3c8e952ed36bd39aa138f5edf476e17d73fbea63 /arch/xtensa/lib | |
| parent | 7dc0789579b17859c61c085e4562b7985f05cc4d (diff) | |
arch, board: squash lines for immediate return
Remove unneeded variables and assignments.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Minkyu Kang <[email protected]>
Reviewed-by: Angelo Dureghello <[email protected]>
Diffstat (limited to 'arch/xtensa/lib')
| -rw-r--r-- | arch/xtensa/lib/time.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/xtensa/lib/time.c b/arch/xtensa/lib/time.c index 1332072ffe3..915eb5185b6 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 |
