diff options
author | Wolfgang Denk <wd@denx.de> | 2008-09-08 23:26:22 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-08 23:26:22 +0200 |
commit | 1055171ed05b7c4885737463d52b8d6c013bcb5d (patch) | |
tree | db7ffa093c64a8a273d47b624d09fb82c965d3e7 /lib_arm/bootm.c | |
parent | 2e3c867d0a63c563a51e65b776973b008f16cec5 (diff) | |
download | u-boot-imx-1055171ed05b7c4885737463d52b8d6c013bcb5d.zip u-boot-imx-1055171ed05b7c4885737463d52b8d6c013bcb5d.tar.gz u-boot-imx-1055171ed05b7c4885737463d52b8d6c013bcb5d.tar.bz2 |
lib_arm/bootm.c: fix compile warnings
bootm.c:128: warning: label 'error' defined but not used
bootm.c:65: warning: unused variable 'ret'
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib_arm/bootm.c')
-rw-r--r-- | lib_arm/bootm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib_arm/bootm.c b/lib_arm/bootm.c index 6c2f37e..772fa7f 100644 --- a/lib_arm/bootm.c +++ b/lib_arm/bootm.c @@ -62,7 +62,6 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images) char *s; int machid = bd->bi_arch_number; void (*theKernel)(int zero, int arch, uint params); - int ret; #ifdef CONFIG_CMDLINE_TAG char *commandline = getenv ("bootargs"); @@ -125,7 +124,7 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images) theKernel (0, machid, bd->bi_boot_params); /* does not return */ -error: + return 1; } |