From f2971640d17bf94408baf3d859f511461222f221 Mon Sep 17 00:00:00 2001 From: erwan Date: Sun, 8 Mar 2009 20:16:50 +0100 Subject: [PATCH] hdt: removing useless else Based on Andy's suggestions, this else are clearly useless --- com32/hdt/hdt-cli-dmi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/com32/hdt/hdt-cli-dmi.c b/com32/hdt/hdt-cli-dmi.c index 3902f38..c982065 100644 --- a/com32/hdt/hdt-cli-dmi.c +++ b/com32/hdt/hdt-cli-dmi.c @@ -46,19 +46,19 @@ void dmi_show(char *item, struct s_hardware *hardware) { if ( !strncmp(item, CLI_DMI_BASE_BOARD, sizeof(CLI_DMI_BASE_BOARD) - 1) ) { show_dmi_base_board(hardware); return; - } else + } if ( !strncmp(item, CLI_DMI_SYSTEM, sizeof(CLI_DMI_SYSTEM) - 1) ) { show_dmi_system(hardware); return; - } else + } if ( !strncmp(item, CLI_DMI_BIOS, sizeof(CLI_DMI_BIOS) - 1) ) { show_dmi_bios(hardware); return; - } else + } if ( !strncmp(item, CLI_DMI_CHASSIS, sizeof(CLI_DMI_CHASSIS) - 1) ) { show_dmi_chassis(hardware); return; - } else + } if ( !strncmp(item, CLI_DMI_PROCESSOR, sizeof(CLI_DMI_PROCESSOR) - 1) ) { show_dmi_cpu(hardware); return; -- 2.7.4