diff options
author | erwan <erwan@laptopR1.(none)> | 2009-03-08 20:16:50 +0100 |
---|---|---|
committer | erwan <erwan@laptopR1.(none)> | 2009-03-08 20:16:50 +0100 |
commit | f2971640d17bf94408baf3d859f511461222f221 (patch) | |
tree | 9c92f5095f2d8415dbc8dde6bf8053e1416e7630 | |
parent | dbbaec5377d2820e72d730c915fc3e2ed58b83ba (diff) | |
download | syslinux-elf-f2971640d17bf94408baf3d859f511461222f221.tar.gz syslinux-elf-f2971640d17bf94408baf3d859f511461222f221.tar.xz syslinux-elf-f2971640d17bf94408baf3d859f511461222f221.zip |
hdt: removing useless else
Based on Andy's suggestions, this else are clearly useless
-rw-r--r-- | com32/hdt/hdt-cli-dmi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/hdt/hdt-cli-dmi.c b/com32/hdt/hdt-cli-dmi.c index 3902f383..c9820657 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; |