[partition] Simplify logic, remove dead code

This commit is contained in:
Adriaan de Groot 2024-04-16 15:46:09 +02:00
parent 0a0e647be3
commit 2e96184406

View File

@ -581,12 +581,7 @@ efiFilesystemMinimumSize()
uefisys_part_sizeB = v > 0 ? v : 0; uefisys_part_sizeB = v > 0 ? v : 0;
} }
// There is a lower limit of what can be configured // There is a lower limit of what can be configured
if ( uefisys_part_sizeB < efiSpecificationHardMinimumSize ) return std::max( uefisys_part_sizeB, efiSpecificationHardMinimumSize );
{
uefisys_part_sizeB = efiSpecificationHardMinimumSize;
}
return uefisys_part_sizeB;
return efiSpecificationHardMinimumSize;
} }
QString QString