diff options
author | Geoff Levand <geoff@infradead.org> | 2013-10-02 20:49:46 +0000 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-10-03 10:02:09 +0900 |
commit | bf9d0f055c791a26b2237b5a12b48ae1b7e0d550 (patch) | |
tree | 2a081a428c4c6e8e5f5bb81418cca900a6f913c3 /kexec/arch/mips/kexec-elf-mips.c | |
parent | 5f46530bba7a105d543511ed5f001ec5b8d61822 (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/mips/kexec-elf-mips.c')
-rw-r--r-- | kexec/arch/mips/kexec-elf-mips.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kexec/arch/mips/kexec-elf-mips.c b/kexec/arch/mips/kexec-elf-mips.c index 6951247..a27d986 100644 --- a/kexec/arch/mips/kexec-elf-mips.c +++ b/kexec/arch/mips/kexec-elf-mips.c @@ -100,9 +100,6 @@ int elf_mips_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; |