Impact: None.
main_show_summary is only used in hdt-cli.c. Let's make it static.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
return HDT_MODE;
}
-void main_show_summary(struct s_hardware *hardware, struct s_cli_mode *cli_mode)
+static void main_show_summary(struct s_hardware *hardware)
{
detect_pci(hardware); /* pxe is detected in the pci */
detect_dmi(hardware);
struct s_cli_mode *cli_mode)
{
if (!strncmp(item, CLI_SUMMARY, sizeof(CLI_SUMMARY))) {
- main_show_summary(hardware, cli_mode);
+ main_show_summary(hardware);
return;
}
if (!strncmp(item, CLI_PCI, sizeof(CLI_PCI))) {