diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-06 22:17:38 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-23 17:53:53 -0400 |
commit | 63a7578e4e7dc906e75b0bec5a2f3fe41c3720f4 (patch) | |
tree | 3c8e952ed36bd39aa138f5edf476e17d73fbea63 /arch/powerpc/cpu/mpc83xx | |
parent | 7dc0789579b17859c61c085e4562b7985f05cc4d (diff) | |
download | u-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/powerpc/cpu/mpc83xx')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/cpu.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/mpc83xx/cpu.c index 3809309..c87f0fd 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu.c +++ b/arch/powerpc/cpu/mpc83xx/cpu.c @@ -173,11 +173,7 @@ do_reset (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) unsigned long get_tbclk(void) { - ulong tbclk; - - tbclk = (gd->bus_clk + 3L) / 4L; - - return tbclk; + return (gd->bus_clk + 3L) / 4L; } |