aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-common.c')
-rw-r--r--com32/hdt/hdt-common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/com32/hdt/hdt-common.c b/com32/hdt/hdt-common.c
index 0f98ab9e..80305a3e 100644
--- a/com32/hdt/hdt-common.c
+++ b/com32/hdt/hdt-common.c
@@ -252,7 +252,6 @@ void detect_disks(struct s_hardware *hardware)
{
int i = -1;
int err;
- char *error_msg;
if (hardware->disk_detection)
return;
@@ -270,12 +269,6 @@ void detect_disks(struct s_hardware *hardware)
if (err == -1 || !hardware->disk_info[i].cbios)
continue;
- if (err) {
- get_error(err, &error_msg);
- more_printf("Error 0x%Xh while reading disk 0x%X:\n\t%s\n",
- err, drive, error_msg);
- free(error_msg);
- }
hardware->disks_count++;
}
}