summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:09 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:09 +0200
commita3a08c0cedd329edf5256e1d6b2bad0fca002725 (patch)
treebfd2a8ee8f0407a3eca16cd5560302ed64f9e674
parent0e8d158664a913392cb01fb11a948d83f72e105e (diff)
downloadu-boot-imx-a3a08c0cedd329edf5256e1d6b2bad0fca002725.zip
u-boot-imx-a3a08c0cedd329edf5256e1d6b2bad0fca002725.tar.gz
u-boot-imx-a3a08c0cedd329edf5256e1d6b2bad0fca002725.tar.bz2
bootm arm/avr32/blackfin/microblaze/nios2/sh: remove no more need 'error' label
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r--lib_avr32/bootm.c2
-rw-r--r--lib_blackfin/bootm.c2
-rw-r--r--lib_microblaze/bootm.c2
-rw-r--r--lib_nios2/bootm.c1
-rw-r--r--lib_sh/bootm.c1
5 files changed, 3 insertions, 5 deletions
diff --git a/lib_avr32/bootm.c b/lib_avr32/bootm.c
index 8a6109d..35240e2 100644
--- a/lib_avr32/bootm.c
+++ b/lib_avr32/bootm.c
@@ -202,6 +202,6 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
theKernel(ATAG_MAGIC, params_start);
/* does not return */
-error:
+
return 1;
}
diff --git a/lib_blackfin/bootm.c b/lib_blackfin/bootm.c
index d0afb21..9938ae5 100644
--- a/lib_blackfin/bootm.c
+++ b/lib_blackfin/bootm.c
@@ -48,6 +48,6 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
dcache_disable();
(*appl) (cmdline);
/* does not return */
-error:
+
return 1;
}
diff --git a/lib_microblaze/bootm.c b/lib_microblaze/bootm.c
index 5986a31..52fe068 100644
--- a/lib_microblaze/bootm.c
+++ b/lib_microblaze/bootm.c
@@ -49,6 +49,6 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
theKernel (commandline);
/* does not return */
-error:
+
return 1;
}
diff --git a/lib_nios2/bootm.c b/lib_nios2/bootm.c
index c0be4fd..34f5b8f 100644
--- a/lib_nios2/bootm.c
+++ b/lib_nios2/bootm.c
@@ -35,6 +35,5 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
kernel ();
/* does not return */
-error:
return 1;
}
diff --git a/lib_sh/bootm.c b/lib_sh/bootm.c
index e92c848..bc1c3da 100644
--- a/lib_sh/bootm.c
+++ b/lib_sh/bootm.c
@@ -70,6 +70,5 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
kernel();
/* does not return */
-error:
return 1;
}