Impact: Signature change.
The cli mode information is already in the function name. No need to pass it
as a parameter. This fixes a compilation warning.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
}
}
-void main_show_cpu(struct s_hardware *hardware, struct s_cli_mode *cli_mode)
+void main_show_cpu(struct s_hardware *hardware)
{
cpu_detect(hardware);
detect_dmi(hardware);
detect_dmi(hardware);
cpu_detect(hardware);
clear_screen();
- main_show_cpu(hardware, cli_mode);
+ main_show_cpu(hardware);
if (hardware->is_dmi_valid) {
more_printf("System\n");
more_printf(" Manufacturer : %s\n",
return;
}
if (!strncmp(item, CLI_CPU, sizeof(CLI_CPU))) {
- main_show_cpu(hardware, cli_mode);
+ main_show_cpu(hardware);
return;
}
if (!strncmp(item, CLI_PXE, sizeof(CLI_PXE))) {
void cli_detect_pci(struct s_hardware *hardware);
// CPU STUFF
-void main_show_cpu(struct s_hardware *hardware, struct s_cli_mode *cli_mode);
+void main_show_cpu(struct s_hardware *hardware);
void handle_cpu_commands(char *cli_line, struct s_hardware *hardware);
// PXE STUFF