summaryrefslogtreecommitdiff
path: root/arch/blackfin/cpu
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-06 22:17:38 +0900
committerTom Rini <trini@konsulko.com>2016-09-23 17:53:53 -0400
commit63a7578e4e7dc906e75b0bec5a2f3fe41c3720f4 (patch)
tree3c8e952ed36bd39aa138f5edf476e17d73fbea63 /arch/blackfin/cpu
parent7dc0789579b17859c61c085e4562b7985f05cc4d (diff)
downloadu-boot-imx-63a7578e4e7dc906e75b0bec5a2f3fe41c3720f4.zip
u-boot-imx-63a7578e4e7dc906e75b0bec5a2f3fe41c3720f4.tar.gz
u-boot-imx-63a7578e4e7dc906e75b0bec5a2f3fe41c3720f4.tar.bz2
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 'arch/blackfin/cpu')
-rw-r--r--arch/blackfin/cpu/interrupts.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/blackfin/cpu/interrupts.c b/arch/blackfin/cpu/interrupts.c
index 45c92c3..abb7dc1 100644
--- a/arch/blackfin/cpu/interrupts.c
+++ b/arch/blackfin/cpu/interrupts.c
@@ -47,10 +47,7 @@ unsigned long long get_ticks(void)
*/
ulong get_tbclk(void)
{
- ulong tbclk;
-
- tbclk = CONFIG_SYS_HZ;
- return tbclk;
+ return CONFIG_SYS_HZ;
}
void enable_interrupts(void)