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 /board/amcc/bubinga/bubinga.c | |
parent | 7dc0789579b17859c61c085e4562b7985f05cc4d (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/amcc/bubinga/bubinga.c')
-rw-r--r-- | board/amcc/bubinga/bubinga.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/board/amcc/bubinga/bubinga.c b/board/amcc/bubinga/bubinga.c index 5c1e0717a5..9043de62d3 100644 --- a/board/amcc/bubinga/bubinga.c +++ b/board/amcc/bubinga/bubinga.c @@ -57,8 +57,5 @@ int checkboard(void) ------------------------------------------------------------------------- */ phys_size_t initdram(int board_type) { - long int ret; - - ret = spd_sdram(); - return ret; + return spd_sdram(); } |