[partition] Simplify logic, remove dead code
This commit is contained in:
parent
0a0e647be3
commit
2e96184406
@ -581,12 +581,7 @@ efiFilesystemMinimumSize()
|
||||
uefisys_part_sizeB = v > 0 ? v : 0;
|
||||
}
|
||||
// There is a lower limit of what can be configured
|
||||
if ( uefisys_part_sizeB < efiSpecificationHardMinimumSize )
|
||||
{
|
||||
uefisys_part_sizeB = efiSpecificationHardMinimumSize;
|
||||
}
|
||||
return uefisys_part_sizeB;
|
||||
return efiSpecificationHardMinimumSize;
|
||||
return std::max( uefisys_part_sizeB, efiSpecificationHardMinimumSize );
|
||||
}
|
||||
|
||||
QString
|
||||
|
Loading…
Reference in New Issue
Block a user