]> git.proxmox.com Git - mirror_edk2.git/blobdiff - QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperPei.c
QuarkPlatformPkg: Fix variable set but not used build errors
[mirror_edk2.git] / QuarkPlatformPkg / Library / PlatformHelperLib / PlatformHelperPei.c
index 50a0e427433a77e8fb60bd84569ede5b928aeaf0..c242c9ec950cd2aeba3e9900c99b0c45aeaf6158 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 Implementation of Helper routines for PEI enviroment.\r
 \r
-Copyright (c) 2013-2015 Intel Corporation.\r
+Copyright (c) 2013-2016 Intel Corporation.\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
@@ -63,7 +63,6 @@ PlatformFindFvFileRawDataSection (
   EFI_SECTION_TYPE                  SearchType;\r
   EFI_FV_INFO                       VolumeInfo;\r
   EFI_FV_FILE_INFO                  FileInfo;\r
-  CONST EFI_PEI_SERVICES            **PeiServices;\r
 \r
   if (FileNameGuid == NULL || SectionData == NULL || SectionDataSize == NULL) {\r
     return EFI_INVALID_PARAMETER;\r
@@ -71,7 +70,6 @@ PlatformFindFvFileRawDataSection (
   *SectionData = NULL;\r
   *SectionDataSize = 0;\r
 \r
-  PeiServices = GetPeiServicesTablePointer ();\r
   SearchType = EFI_SECTION_RAW;\r
   for (Instance = 0; !EFI_ERROR((PeiServicesFfsFindNextVolume (Instance, &VolumeHandle))); Instance++) {\r
     if (FvNameGuid != NULL) {\r