From: Jaehoon Chung Date: Thu, 28 Sep 2017 06:12:02 +0000 (+0900) Subject: arm: bootm: remove the unused variables X-Git-Tag: accepted/tizen/4.0/unified/20171017.210954~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F68%2F153268%2F3;p=profile%2Fmobile%2Fplatform%2Fkernel%2Fu-boot-tm1.git arm: bootm: remove the unused variables Remove the unused variables for fixing compiler warning. Change-Id: I59fc03e1ffb27b1e1c005ccb0b06c4b81d80b21c Signed-off-by: Jaehoon Chung --- diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index c1b6e24..a9e8ded 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -182,8 +182,6 @@ static int bootm_linux_fdt(int machid, bootm_headers_t *images) { ulong rd_len; void (*kernel_entry)(int zero, int dt_machid, void *dtblob); - ulong bootmap_base = getenv_bootm_low(); - ulong of_size = images->ft_len; char **of_flat_tree = &images->ft_addr; ulong *initrd_start = &images->initrd_start; ulong *initrd_end = &images->initrd_end; @@ -198,10 +196,6 @@ static int bootm_linux_fdt(int machid, bootm_headers_t *images) if (ret) return ret; - //ret = boot_relocate_fdt(lmb, bootmap_base, of_flat_tree, &of_size); - //if (ret) - // return ret; - debug("## Transferring control to Linux (at address %08lx) ...\n", (ulong) kernel_entry);