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/sh/kexec-netbsd-sh.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/sh/kexec-netbsd-sh.c')
-rw-r--r-- | kexec/arch/sh/kexec-netbsd-sh.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kexec/arch/sh/kexec-netbsd-sh.c b/kexec/arch/sh/kexec-netbsd-sh.c index 8a7e75e..ed93759 100644 --- a/kexec/arch/sh/kexec-netbsd-sh.c +++ b/kexec/arch/sh/kexec-netbsd-sh.c @@ -83,9 +83,6 @@ int netbsd_sh_load(int argc, char **argv, const char *buf, off_t UNUSED(len), if (opt < OPT_ARCH_MAX) { break; } - case '?': - usage(); - return -1; case OPT_NBSD_HOWTO: howto = optarg; break; |