From 2f4b3776d62a702a7c6e74e9504a633f835f63ad Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Sat, 14 Mar 2009 16:04:43 -0700 Subject: [PATCH] hdt: Remove unused parameter in handle_vesa_commands Impact: Signature change. The cli mode information is already in the function name. No need to pass it as a parameter. Note: The file hdt-cli-vesa is missing for the tree. This change will need to be propagated once the file is integrated. Signed-off-by: Pierre-Alexandre Meyer --- com32/hdt/hdt-cli.c | 4 ++++ com32/hdt/hdt-cli.h | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c index 6f75d62..7c1dc79 100644 --- a/com32/hdt/hdt-cli.c +++ b/com32/hdt/hdt-cli.c @@ -129,6 +129,7 @@ static void show_cli_help(struct s_cli_mode *cli_mode) case SYSLINUX_MODE: case KERNEL_MODE: case PXE_MODE: + case VESA_MODE: case CPU_MODE: case PCI_MODE: case DMI_MODE: @@ -223,6 +224,9 @@ void start_cli_mode(struct s_hardware *hardware) case PXE_MODE: handle_pxe_commands(cli_line, hardware); break; + case VESA_MODE: + handle_vesa_commands(cli_line, hardware); + break; case SYSLINUX_MODE: handle_syslinux_commands(cli_line, hardware); break; diff --git a/com32/hdt/hdt-cli.h b/com32/hdt/hdt-cli.h index bcd5ae1..72e46a3 100644 --- a/com32/hdt/hdt-cli.h +++ b/com32/hdt/hdt-cli.h @@ -109,7 +109,5 @@ void handle_syslinux_commands(char *cli_line, struct s_hardware *hardware); // VESA STUFF void main_show_vesa(struct s_hardware *hardware); -void handle_vesa_commands(char *cli_line, struct s_cli_mode *cli_mode, - struct s_hardware *hardware); - +void handle_vesa_commands(char *cli_line, struct s_hardware *hardware); #endif -- 2.7.4