summaryrefslogtreecommitdiffstats
path: root/FatPkg/FatPei/FatLiteApi.c
diff options
context:
space:
mode:
Diffstat (limited to 'FatPkg/FatPei/FatLiteApi.c')
-rw-r--r--FatPkg/FatPei/FatLiteApi.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/FatPkg/FatPei/FatLiteApi.c b/FatPkg/FatPei/FatLiteApi.c
index 0bf6ddae6a..b9f883b9e0 100644
--- a/FatPkg/FatPei/FatLiteApi.c
+++ b/FatPkg/FatPei/FatLiteApi.c
@@ -1,7 +1,7 @@
/** @file
FAT recovery PEIM entry point, Ppi Functions and FAT Api functions.
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -431,10 +431,6 @@ GetRecoveryCapsuleInfo (
return Status;
}
- if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {
- CapsuleInstance = CapsuleInstance + 1;
- }
-
if ((CapsuleInstance == 0) || (CapsuleInstance > NumberRecoveryCapsules)) {
return EFI_NOT_FOUND;
}
@@ -559,10 +555,6 @@ LoadRecoveryCapsule (
return Status;
}
- if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {
- CapsuleInstance = CapsuleInstance + 1;
- }
-
if ((CapsuleInstance == 0) || (CapsuleInstance > NumberRecoveryCapsules)) {
return EFI_NOT_FOUND;
}