mirror of https://github.com/FDOS/kernel.git
Remove condition checks that are already included in other condition checks
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1112 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
e936a15c6b
commit
e7880c117f
|
@ -840,9 +840,7 @@ int ScanForPrimaryPartitions(struct DriveParamS * driveParam, int scan_type,
|
|||
|
||||
for (i = 0; i < 4; i++, pEntry++)
|
||||
{
|
||||
if (pEntry->FileSystem == 0
|
||||
|| partitionsToIgnore & (1 << i)
|
||||
|| IsExtPartition(pEntry->FileSystem)
|
||||
if (partitionsToIgnore & (1 << i)
|
||||
|| scan_type == SCAN_PRIMARYBOOT && !pEntry->Bootable
|
||||
|| !IsFATPartition(pEntry->FileSystem))
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue