mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
d8f504f271
commit
4d004cf8b1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user