From d9bf000b6260ee4558b2d2eb3af08e09cd1fe794 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Tue, 7 Sep 2010 11:42:39 -0700 Subject: 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 --- kexec/kexec.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'kexec/kexec.c') 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) { -- cgit