zipl/src: drop never happening case in check_dump_device_late()

In the function check_dump_device_late() drop the case of
(info->device != target_info->device) which never happens. Indeed,
the @info created in check_dump_device_late() coincides with the
@target_info previously created by
prepare_build_program_table_{file, device}.

Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com>
Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Eduard Shishkin
2024-09-17 13:10:30 +02:00
committed by Jan Höppner
parent d8f504f271
commit 4d004cf8b1

View File

@@ -1004,12 +1004,6 @@ check_dump_device_late(char *partition, struct disk_info *target_info,
disk_free_info(info);
return -1;
}
if (info->device != target_info->device) {
error_reason("Target directory is not on same device as "
"'%s'", partition);
disk_free_info(info);
return -1;
}
disk_free_info(info);
return 0;
}