diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2010-09-07 11:42:39 -0700 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2010-09-08 11:02:29 -0700 |
commit | d9bf000b6260ee4558b2d2eb3af08e09cd1fe794 (patch) | |
tree | 95d619af3a1e1841b96e76a309b46b4c6d611331 /kexec/kexec.c | |
parent | 3578b1f1437f8d1b569d1e30f6d4e15edd1cce53 (diff) |
kexec: Kill arch_init
The function only had one user, the error checking was wrong,
and the functions it performed are best done elsewhere
so remove the tempation of a problemenatic hook.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'kexec/kexec.c')
-rw-r--r-- | kexec/kexec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kexec/kexec.c b/kexec/kexec.c index 2b5dc42..10ad41d 100644 --- a/kexec/kexec.c +++ b/kexec/kexec.c @@ -1062,8 +1062,6 @@ int main(int argc, char *argv[]) }; static const char short_options[] = KEXEC_ALL_OPT_STR; - arch_init(); - while ((opt = getopt_long(argc, argv, short_options, options, 0)) != -1) { switch(opt) { |