2009-05-03 Pavel Roskin <proski@gnu.org>
* disk/ata.c: Don't cast mod to void in GRUB_MOD_INIT to suppress warnings. It's no longer needed. * disk/host.c: Likewise. * disk/ata_pthru.c: Likewise. * disk/loopback.c: Likewise. * hook/datehook.c: Likewise. * parttool/pcpart.c: Likewise. * fs/i386/pc/pxe.c: Likewise. * fs/ntfscomp.c: Likewise. * efiemu/main.c: Likewise. * mmap/mmap.c: Likewise. * commands/crc.c: Likewise. * commands/hexdump.c: Likewise. * commands/hdparm.c: Likewise. * commands/acpi.c: Likewise. * commands/echo.c: Likewise. * commands/minicmd.c: Likewise. * commands/blocklist.c: Likewise. * commands/memrw.c: Likewise. * commands/loadenv.c: Likewise. * commands/usbtest.c: Likewise. * commands/lsmmap.c: Likewise. * commands/boot.c: Likewise. * commands/parttool.c: Likewise. * commands/configfile.c: Likewise. * commands/search.c: Likewise. * commands/ieee1275/suspend.c: Likewise. * commands/cat.c: Likewise. * commands/i386/pc/pxecmd.c: Likewise. * commands/i386/pc/play.c: Likewise. * commands/i386/pc/halt.c: Likewise. * commands/i386/pc/vbeinfo.c: Likewise. * commands/i386/pc/vbetest.c: Likewise. * commands/lspci.c: Likewise. * commands/date.c: Likewise. * commands/handler.c: Likewise. * commands/ls.c: Likewise. * commands/test.c: Likewise. * commands/cmp.c: Likewise. * commands/efi/loadbios.c: Likewise. * commands/efi/fixvideo.c: Likewise. * commands/halt.c: Likewise. * commands/help.c: Likewise. * commands/reboot.c: Likewise. * hello/hello.c: Likewise. * script/sh/main.c: Likewise. * loader/xnu.c: Likewise. * term/terminfo.c: Likewise. * term/i386/pc/serial.c: Likewise. * term/usb_keyboard.c: Likewise.
This commit is contained in:
parent
515b50793a
commit
4c402e7301
50 changed files with 53 additions and 57 deletions
53
ChangeLog
53
ChangeLog
|
@ -1,3 +1,56 @@
|
|||
2009-05-03 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* disk/ata.c: Don't cast mod to void in GRUB_MOD_INIT to
|
||||
suppress warnings. It's no longer needed.
|
||||
* disk/host.c: Likewise.
|
||||
* disk/ata_pthru.c: Likewise.
|
||||
* disk/loopback.c: Likewise.
|
||||
* hook/datehook.c: Likewise.
|
||||
* parttool/pcpart.c: Likewise.
|
||||
* fs/i386/pc/pxe.c: Likewise.
|
||||
* fs/ntfscomp.c: Likewise.
|
||||
* efiemu/main.c: Likewise.
|
||||
* mmap/mmap.c: Likewise.
|
||||
* commands/crc.c: Likewise.
|
||||
* commands/hexdump.c: Likewise.
|
||||
* commands/hdparm.c: Likewise.
|
||||
* commands/acpi.c: Likewise.
|
||||
* commands/echo.c: Likewise.
|
||||
* commands/minicmd.c: Likewise.
|
||||
* commands/blocklist.c: Likewise.
|
||||
* commands/memrw.c: Likewise.
|
||||
* commands/loadenv.c: Likewise.
|
||||
* commands/usbtest.c: Likewise.
|
||||
* commands/lsmmap.c: Likewise.
|
||||
* commands/boot.c: Likewise.
|
||||
* commands/parttool.c: Likewise.
|
||||
* commands/configfile.c: Likewise.
|
||||
* commands/search.c: Likewise.
|
||||
* commands/ieee1275/suspend.c: Likewise.
|
||||
* commands/cat.c: Likewise.
|
||||
* commands/i386/pc/pxecmd.c: Likewise.
|
||||
* commands/i386/pc/play.c: Likewise.
|
||||
* commands/i386/pc/halt.c: Likewise.
|
||||
* commands/i386/pc/vbeinfo.c: Likewise.
|
||||
* commands/i386/pc/vbetest.c: Likewise.
|
||||
* commands/lspci.c: Likewise.
|
||||
* commands/date.c: Likewise.
|
||||
* commands/handler.c: Likewise.
|
||||
* commands/ls.c: Likewise.
|
||||
* commands/test.c: Likewise.
|
||||
* commands/cmp.c: Likewise.
|
||||
* commands/efi/loadbios.c: Likewise.
|
||||
* commands/efi/fixvideo.c: Likewise.
|
||||
* commands/halt.c: Likewise.
|
||||
* commands/help.c: Likewise.
|
||||
* commands/reboot.c: Likewise.
|
||||
* hello/hello.c: Likewise.
|
||||
* script/sh/main.c: Likewise.
|
||||
* loader/xnu.c: Likewise.
|
||||
* term/terminfo.c: Likewise.
|
||||
* term/i386/pc/serial.c: Likewise.
|
||||
* term/usb_keyboard.c: Likewise.
|
||||
|
||||
2009-05-03 David S. Miller <davem@davemloft.net>
|
||||
|
||||
* normal/menu.c: Include grub/parser.h
|
||||
|
|
|
@ -756,7 +756,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(acpi)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_extcmd ("acpi", grub_cmd_acpi,
|
||||
GRUB_COMMAND_FLAG_BOTH,
|
||||
"acpi [-1|-2] [--exclude=table1,table2|"
|
||||
|
|
|
@ -109,7 +109,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(blocklist)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("blocklist", grub_cmd_blocklist,
|
||||
"blocklist FILE", "Print a block list.");
|
||||
}
|
||||
|
|
|
@ -184,7 +184,6 @@ static grub_command_t cmd_boot;
|
|||
|
||||
GRUB_MOD_INIT(boot)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd_boot =
|
||||
grub_register_command ("boot", grub_cmd_boot,
|
||||
0, "boot an operating system");
|
||||
|
|
|
@ -77,7 +77,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(cat)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_command_p1 ("cat", grub_cmd_cat,
|
||||
"cat FILE", "Show the contents of a file.");
|
||||
}
|
||||
|
|
|
@ -108,7 +108,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(cmp)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("cmp", grub_cmd_cmp,
|
||||
"cmp FILE1 FILE2", "Compare two files.");
|
||||
}
|
||||
|
|
|
@ -51,7 +51,6 @@ static grub_command_t cmd_configfile, cmd_source, cmd_dot;
|
|||
|
||||
GRUB_MOD_INIT(configfile)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd_configfile =
|
||||
grub_register_command ("configfile", grub_cmd_source,
|
||||
"configfile FILE", "Load another config file.");
|
||||
|
|
|
@ -56,7 +56,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(crc)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("crc", grub_cmd_crc,
|
||||
"crc FILE",
|
||||
"Calculate the crc32 checksum of a file.");
|
||||
|
|
|
@ -133,7 +133,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(date)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd =
|
||||
grub_register_command ("date", grub_cmd_date,
|
||||
"date [[year-]month-day] [hour:minute[:second]]",
|
||||
|
|
|
@ -112,7 +112,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(echo)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_extcmd ("echo", grub_cmd_echo, GRUB_COMMAND_FLAG_BOTH,
|
||||
"echo [-e|-n] FILE", "Display a line of text.",
|
||||
options);
|
||||
|
|
|
@ -98,7 +98,6 @@ static grub_command_t cmd_fixvideo;
|
|||
|
||||
GRUB_MOD_INIT(fixvideo)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd_fixvideo = grub_register_command ("fix_video", grub_cmd_fixvideo,
|
||||
0, "Fix video problem.");
|
||||
|
||||
|
|
|
@ -198,7 +198,6 @@ static grub_command_t cmd_fakebios, cmd_loadbios;
|
|||
|
||||
GRUB_MOD_INIT(loadbios)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd_fakebios = grub_register_command ("fakebios", grub_cmd_fakebios,
|
||||
0, "fake bios.");
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(halt)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("halt", grub_cmd_halt,
|
||||
0, "halts the computer. This command does not"
|
||||
" work on all firmware.");
|
||||
|
|
|
@ -93,7 +93,6 @@ static grub_command_t cmd_handler, cmd_terminal_input, cmd_terminal_output;
|
|||
|
||||
GRUB_MOD_INIT(handler)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd_handler =
|
||||
grub_register_command ("handler", grub_cmd_handler,
|
||||
"handler [class [handler]]",
|
||||
|
|
|
@ -408,8 +408,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(hdparm)
|
||||
{
|
||||
(void) mod;
|
||||
|
||||
cmd = grub_register_extcmd ("hdparm", grub_cmd_hdparm,
|
||||
GRUB_COMMAND_FLAG_BOTH,
|
||||
"hdparm [OPTIONS] DISK",
|
||||
|
|
|
@ -92,7 +92,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(help)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd = grub_register_extcmd ("help", grub_cmd_help,
|
||||
GRUB_COMMAND_FLAG_CMDLINE,
|
||||
"help [PATTERN ...]",
|
||||
|
|
|
@ -125,7 +125,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT (hexdump)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_extcmd ("hexdump", grub_cmd_hexdump,
|
||||
GRUB_COMMAND_FLAG_BOTH,
|
||||
"hexdump [OPTIONS] FILE_OR_DEVICE",
|
||||
|
|
|
@ -45,7 +45,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(halt)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd = grub_register_extcmd ("halt", grub_cmd_halt, GRUB_COMMAND_FLAG_BOTH,
|
||||
"halt [-n]",
|
||||
"Halt the system, if possible using APM",
|
||||
|
|
|
@ -206,7 +206,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(play)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("play", grub_cmd_play,
|
||||
"play FILE", "Play a tune");
|
||||
}
|
||||
|
|
|
@ -88,7 +88,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(pxecmd)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_extcmd ("pxe", grub_cmd_pxe, GRUB_COMMAND_FLAG_BOTH,
|
||||
"pxe [-i|-b|-u]",
|
||||
"Command to control the PXE device.", options);
|
||||
|
|
|
@ -173,7 +173,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(vbeinfo)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd =
|
||||
grub_register_command ("vbeinfo", grub_cmd_vbeinfo, 0,
|
||||
"List compatible VESA BIOS extension video modes.");
|
||||
|
|
|
@ -165,7 +165,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(vbetest)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("vbetest", grub_cmd_vbetest,
|
||||
0, "Test VESA BIOS Extension 2.0+ support");
|
||||
}
|
||||
|
|
|
@ -38,7 +38,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(ieee1275_suspend)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("suspend", grub_cmd_suspend,
|
||||
0, "Return to Open Firmware prompt");
|
||||
}
|
||||
|
|
|
@ -381,8 +381,6 @@ static grub_extcmd_t cmd_load, cmd_list, cmd_save;
|
|||
|
||||
GRUB_MOD_INIT(loadenv)
|
||||
{
|
||||
(void) mod;
|
||||
|
||||
cmd_load =
|
||||
grub_register_extcmd ("load_env", grub_cmd_load_env,
|
||||
GRUB_COMMAND_FLAG_BOTH,
|
||||
|
|
|
@ -259,7 +259,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(ls)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd = grub_register_extcmd ("ls", grub_cmd_ls, GRUB_COMMAND_FLAG_BOTH,
|
||||
"ls [-l|-h|-a] [FILE]",
|
||||
"List devices and files.", options);
|
||||
|
|
|
@ -42,7 +42,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(lsmmap)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("lsmmap", grub_cmd_lsmmap,
|
||||
0, "List memory map provided by firmware.");
|
||||
}
|
||||
|
|
|
@ -158,7 +158,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(pci)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("lspci", grub_cmd_lspci,
|
||||
0, "List PCI devices");
|
||||
}
|
||||
|
|
|
@ -69,7 +69,6 @@ grub_cmd_write (grub_command_t cmd, int argc, char **argv)
|
|||
|
||||
GRUB_MOD_INIT(memrw)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd_read_byte =
|
||||
grub_register_command ("read_byte", grub_cmd_read,
|
||||
"read_byte ADDR", "read byte.");
|
||||
|
|
|
@ -341,8 +341,6 @@ static grub_command_t cmd_dump, cmd_rmmod, cmd_lsmod, cmd_exit;
|
|||
|
||||
GRUB_MOD_INIT(minicmd)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
|
||||
cmd_cat =
|
||||
grub_register_command ("cat", grub_mini_cmd_cat,
|
||||
"cat FILE", "show the contents of a file");
|
||||
|
|
|
@ -327,7 +327,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(parttool)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
mymod = mod;
|
||||
cmd = grub_register_command ("parttool", grub_cmd_parttool,
|
||||
"parttool PARTITION COMMANDS",
|
||||
|
|
|
@ -46,7 +46,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(reboot)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("reboot", grub_cmd_reboot,
|
||||
0, "Reboot the computer");
|
||||
}
|
||||
|
|
|
@ -220,7 +220,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(search)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd =
|
||||
grub_register_extcmd ("search", grub_cmd_search,
|
||||
GRUB_COMMAND_FLAG_BOTH,
|
||||
|
|
|
@ -412,7 +412,6 @@ static grub_command_t cmd_1, cmd_2;
|
|||
|
||||
GRUB_MOD_INIT(test)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd_1 = grub_register_command ("[", grub_cmd_test,
|
||||
"[ EXPRESSION ]", "Evaluate an expression");
|
||||
cmd_2 = grub_register_command ("test", grub_cmd_test,
|
||||
|
|
|
@ -151,7 +151,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(usbtest)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("usb", grub_cmd_usbtest,
|
||||
0, "Test USB support");
|
||||
}
|
||||
|
|
|
@ -835,8 +835,6 @@ static struct grub_scsi_dev grub_atapi_dev =
|
|||
|
||||
GRUB_MOD_INIT(ata)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
|
||||
/* To prevent two drivers operating on the same disks. */
|
||||
grub_disk_firmware_is_tainted = 1;
|
||||
if (grub_disk_firmware_fini)
|
||||
|
|
|
@ -96,8 +96,6 @@ grub_ata_pass_through (grub_disk_t disk,
|
|||
|
||||
GRUB_MOD_INIT(ata_pthru)
|
||||
{
|
||||
(void) mod;
|
||||
|
||||
/* Register ATA pass through function. */
|
||||
grub_disk_ata_pass_through = grub_ata_pass_through;
|
||||
}
|
||||
|
|
|
@ -87,7 +87,6 @@ static struct grub_disk_dev grub_host_dev =
|
|||
|
||||
GRUB_MOD_INIT(host)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
grub_disk_dev_register (&grub_host_dev);
|
||||
}
|
||||
|
||||
|
|
|
@ -243,7 +243,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(loop)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_extcmd ("loopback", grub_cmd_loopback,
|
||||
GRUB_COMMAND_FLAG_BOTH,
|
||||
"loopback [-d|-p] DEVICENAME FILE",
|
||||
|
|
|
@ -321,7 +321,6 @@ grub_efiemu_pnvram_cmd_register (void);
|
|||
|
||||
GRUB_MOD_INIT(efiemu)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd_loadcore = grub_register_command ("efiemu_loadcore",
|
||||
grub_cmd_efiemu_load,
|
||||
"efiemu_loadcore FILE",
|
||||
|
|
|
@ -305,8 +305,6 @@ grub_pxe_unload (void)
|
|||
|
||||
GRUB_MOD_INIT(pxe)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
|
||||
grub_pxe_detect ();
|
||||
if (grub_pxe_pxenv)
|
||||
{
|
||||
|
|
|
@ -365,7 +365,6 @@ quit:
|
|||
|
||||
GRUB_MOD_INIT (ntfscomp)
|
||||
{
|
||||
(void) mod;
|
||||
grub_ntfscomp_func = ntfscomp;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(hello)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
cmd = grub_register_extcmd ("hello", grub_cmd_hello, GRUB_COMMAND_FLAG_BOTH,
|
||||
"hello", "Say hello", 0);
|
||||
}
|
||||
|
|
|
@ -86,7 +86,6 @@ grub_read_hook_datetime (struct grub_env_var *var,
|
|||
|
||||
GRUB_MOD_INIT(datetime)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 7; i++)
|
||||
|
|
|
@ -1328,7 +1328,6 @@ static grub_command_t cmd_kernel, cmd_mkext, cmd_kext, cmd_kextdir,
|
|||
|
||||
GRUB_MOD_INIT(xnu)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd_kernel = grub_register_command ("xnu_kernel", grub_cmd_xnu_kernel, 0,
|
||||
"load a xnu kernel");
|
||||
cmd_mkext = grub_register_command ("xnu_mkext", grub_cmd_xnu_mkext, 0,
|
||||
|
|
|
@ -413,7 +413,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(mmap)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("badram", grub_cmd_badram,
|
||||
"badram ADDR1,MASK1[,ADDR2,MASK2[,...]]",
|
||||
"declare memory regions as badram");
|
||||
|
|
|
@ -140,8 +140,6 @@ static grub_err_t grub_pcpart_type (const grub_device_t dev,
|
|||
|
||||
GRUB_MOD_INIT (pcpart)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
|
||||
activate_table_handle = grub_parttool_register ("pc_partition_map",
|
||||
grub_pcpart_boot,
|
||||
grub_pcpart_bootargs);
|
||||
|
|
|
@ -48,7 +48,6 @@ static struct grub_parser grub_sh_parser =
|
|||
|
||||
GRUB_MOD_INIT(sh)
|
||||
{
|
||||
(void) mod;
|
||||
grub_parser_register ("sh", &grub_sh_parser);
|
||||
}
|
||||
|
||||
|
|
|
@ -607,7 +607,6 @@ static grub_extcmd_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(serial)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_extcmd ("serial", grub_cmd_serial,
|
||||
GRUB_COMMAND_FLAG_BOTH,
|
||||
"serial [OPTIONS...]",
|
||||
|
|
|
@ -177,7 +177,6 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(terminfo)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
cmd = grub_register_command ("terminfo", grub_cmd_terminfo,
|
||||
"terminfo [TERM]", "Set terminfo type.");
|
||||
grub_terminfo_set_current ("vt100");
|
||||
|
|
|
@ -244,8 +244,6 @@ static struct grub_term_input grub_usb_keyboard_term =
|
|||
|
||||
GRUB_MOD_INIT(usb_keyboard)
|
||||
{
|
||||
(void) mod; /* To stop warning. */
|
||||
|
||||
grub_usb_hid ();
|
||||
grub_term_register_input ("usb_keyboard", &grub_usb_keyboard_term);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue