review fixes

This commit is contained in:
BVK Chaitanya 2010-06-02 14:45:07 +05:30
parent e508977630
commit 6d6f139349
6 changed files with 10 additions and 19 deletions

View file

@ -31,10 +31,6 @@
#include <grub/command.h>
#include <grub/i18n.h>
#if defined (GRUB_MACHINE_EMU)
#include <grub/emu/misc.h>
#endif
static struct grub_parttool *parts = 0;
static int curhandle = 0;
static grub_dl_t mymod;
@ -179,9 +175,7 @@ grub_cmd_parttool (grub_command_t cmd __attribute__ ((unused)),
}
/* Load modules. */
#if defined(GRUB_MACHINE_EMU)
if (! grub_no_autoload)
#endif
{
const char *prefix;
prefix = grub_env_get ("prefix");