projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e3c867
)
lib_arm/bootm.c: fix compile warnings
author
Wolfgang Denk
<wd@denx.de>
Mon, 8 Sep 2008 21:26:22 +0000
(23:26 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 8 Sep 2008 21:26:22 +0000
(23:26 +0200)
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>
lib_arm/bootm.c
patch
|
blob
|
history
diff --git
a/lib_arm/bootm.c
b/lib_arm/bootm.c
index 6c2f37e98151920469b09e76663613c0024381e7..772fa7f516a669bc7e986eab72d884d3bffc9bbf 100644
(file)
--- 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;
}