Remove useless change in grub-emu.c

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-03-30 14:09:24 +02:00
parent f651947b58
commit c2062d5f3a

View file

@ -63,11 +63,6 @@ grub_arch_dl_check_header (void *ehdr)
return GRUB_ERR_BAD_MODULE; return GRUB_ERR_BAD_MODULE;
} }
void grub_hostfs_init (void);
void grub_hostfs_fini (void);
void grub_host_init (void);
void grub_host_fini (void);
grub_err_t grub_err_t
grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr) grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr)
{ {
@ -80,14 +75,7 @@ grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr)
void void
grub_reboot (void) grub_reboot (void)
{ {
grub_fini_all (); longjmp (main_env, 1);
grub_hostfs_fini ();
grub_host_fini ();
grub_machine_fini ();
exit (0);
// longjmp (main_env, 1);
} }
void void
@ -158,6 +146,11 @@ usage (int status)
} }
void grub_hostfs_init (void);
void grub_hostfs_fini (void);
void grub_host_init (void);
void grub_host_fini (void);
int int
main (int argc, char *argv[]) main (int argc, char *argv[])
{ {