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:
Luchezar Georgiev 2005-02-06 19:00:33 +00:00
parent e936a15c6b
commit e7880c117f
1 changed files with 1 additions and 3 deletions

View File

@ -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;