summaryrefslogtreecommitdiff
path: root/kexec/arch/cris
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2013-10-02 20:49:46 +0000
committerSimon Horman <horms@verge.net.au>2013-10-03 10:02:09 +0900
commitbf9d0f055c791a26b2237b5a12b48ae1b7e0d550 (patch)
tree2a081a428c4c6e8e5f5bb81418cca900a6f913c3 /kexec/arch/cris
parent5f46530bba7a105d543511ed5f001ec5b8d61822 (diff)
kexec: Remove unused -? option handling
The main kexec option code handles the -? option. Remove all the duplicate -? handlers in the arch code which are never used. Signed-off-by: Geoff Levand <geoff@infradead.org> for Huawei, Linaro Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/cris')
-rw-r--r--kexec/arch/cris/kexec-elf-cris.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kexec/arch/cris/kexec-elf-cris.c b/kexec/arch/cris/kexec-elf-cris.c
index b48b7b3..7e251e6 100644
--- a/kexec/arch/cris/kexec-elf-cris.c
+++ b/kexec/arch/cris/kexec-elf-cris.c
@@ -107,9 +107,6 @@ int elf_cris_load(int argc, char **argv, const char *buf, off_t len,
if (opt < OPT_ARCH_MAX) {
break;
}
- case '?':
- usage();
- return -1;
case OPT_APPEND:
command_line = optarg;
break;