public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Zeng, Star" <star.zeng@intel.com>
To: "Zhang, Shenglei" <shenglei.zhang@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Dong, Eric" <eric.dong@intel.com>,
	Laszlo Ersek <lersek@redhat.com>,
	"Zeng, Star" <star.zeng@intel.com>
Subject: Re: [PATCH v3 11/16] MdeModulePkg/DxeCapsuleLibFmp: Remove unused PCDs
Date: Tue, 28 Aug 2018 04:53:52 +0000	[thread overview]
Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103BBB29E0@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <20180828034257.19060-12-shenglei.zhang@intel.com>

Shenglei,

The library Pcdlib is not linked, so "#include <Library/PcdLib.h>"
is deleted.


There is massy code, please correct it before it can be pushed.


Thanks,
Star

-----Original Message-----
From: Zhang, Shenglei 
Sent: Tuesday, August 28, 2018 11:43 AM
To: edk2-devel@lists.01.org
Cc: Zeng, Star <star.zeng@intel.com>; Dong, Eric <eric.dong@intel.com>; Laszlo Ersek <lersek@redhat.com>
Subject: [PATCH v3 11/16] MdeModulePkg/DxeCapsuleLibFmp: Remove unused PCDs

The PCDs below are unused, so they have been removed from inf.
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleMax
gEfiMdeModulePkgTokenSpaceGuid.PcdSystemRebootAfterCapsuleProcessFlag
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeSubClassCapsule
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesBegin
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesEnd
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdatingFirmware
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareSuccess
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareFailed
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeResettingSystem
The library Pcdlib is not linked, so "#include <Library/PcdLib.h>"
is deleted.

Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei <shenglei.zhang@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
---
 MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c |  1 -  .../Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf | 11 -----------
 2 files changed, 12 deletions(-)

diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
index 91c6849a46..fe3ee93523 100644
--- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
+++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
@@ -39,7 +39,6 @@
 #include <Library/CapsuleLib.h>
 #include <Library/DevicePathLib.h>
 #include <Library/UefiLib.h>
-#include <Library/PcdLib.h>
 #include <Library/BmpSupportLib.h>
 
 #include <Protocol/GraphicsOutput.h>
diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
index 342df9e99c..d5e87cb97b 100644
--- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
+++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
@@ -56,17 +56,6 @@
   HobLib
   BmpSupportLib
 
-[Pcd]
-  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleMax                               ## CONSUMES
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSystemRebootAfterCapsuleProcessFlag      ## CONSUMES
-
-  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeSubClassCapsule                ## CONSUMES
-  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesBegin    ## CONSUMES
-  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesEnd      ## CONSUMES
-  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdatingFirmware        ## CONSUMES
-  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareSuccess   ## CONSUMES
-  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareFailed    ## CONSUMES
-  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeResettingSystem         ## CONSUMES
 
 [Protocols]
   gEsrtManagementProtocolGuid                   ## CONSUMES
--
2.18.0.windows.1



  reply	other threads:[~2018-08-28  4:54 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-28  3:42 [PATCH v3 00/16] Removed unused PCDs shenglei
2018-08-28  3:42 ` [PATCH v3 01/16] IntelFsp2Pkg/FspSecCore: Remove " shenglei
2018-08-28  3:42 ` [PATCH v3 02/16] IntelFsp2Pkg/BaseFspCommonLib: " shenglei
2018-08-28  3:42 ` [PATCH v3 03/16] IntelFsp2Pkg/BaseFspPlatformLib: " shenglei
2018-08-28  3:42 ` [PATCH v3 04/16] IntelFsp2Pkg/BaseFspSwitchStackLib: " shenglei
2018-08-28  3:42 ` [PATCH v3 05/16] IntelFsp2WrapperPkg/FspWrapperNotifyDxe: Remove an unused PCD shenglei
2018-08-28  5:28   ` Chiu, Chasel
2018-08-28  3:42 ` [PATCH v3 06/16] IntelFsp2WrapperPkg/BaseFspWrapperPlatformLibSample: Remove PCDs shenglei
2018-08-28  5:30   ` Chiu, Chasel
2018-08-28  3:42 ` [PATCH v3 07/16] SecurityPkg/Tcg2ConfigPei: Remove an unused PCD shenglei
2018-08-28  3:42 ` [PATCH v3 08/16] SecurityPkg/Tcg2Dxe: Remove unused PCDs shenglei
2018-08-29 13:41   ` Laszlo Ersek
2018-08-28  3:42 ` [PATCH v3 09/16] UefiCpuPkg/CpuCommonFeaturesLib: Remove an unused PCD shenglei
2018-08-28  3:42 ` [PATCH v3 10/16] MdePkg/BaseLib: " shenglei
2018-08-28  3:42 ` [PATCH v3 11/16] MdeModulePkg/DxeCapsuleLibFmp: Remove unused PCDs shenglei
2018-08-28  4:53   ` Zeng, Star [this message]
2018-08-28  3:42 ` [PATCH v3 12/16] MdeModulePkg/FirmwarePerformanceDataTableDxe: Remove an unused PCD shenglei
2018-08-28  3:42 ` [PATCH v3 13/16] ShellPkg/Shell: Remove unused PCDs shenglei
2018-08-29  1:36   ` Ni, Ruiyu
2018-08-29 13:43   ` Laszlo Ersek
2018-08-28  3:42 ` [PATCH v3 14/16] ShellPkg/DpDynamicCommand: " shenglei
2018-08-29  1:36   ` Ni, Ruiyu
2018-08-28  3:42 ` [PATCH v3 15/16] ShellPkg/UefiHandleParsingLib: Remove an unused PCD shenglei
2018-08-29 13:49   ` Laszlo Ersek
2018-08-28  3:42 ` [PATCH v3 16/16] ShellPkg/UefiShellDebug1CommandsLib: Remove unused PCDs shenglei
2018-08-29  1:37   ` Ni, Ruiyu
2018-08-29 13:50   ` Laszlo Ersek
2018-08-28 14:56 ` [PATCH v3 00/16] Removed " Carsey, Jaben
2018-10-02 10:13 ` Laszlo Ersek
2018-10-08  2:14   ` Zhang, Shenglei
2018-10-08  3:07   ` Ni, Ruiyu
2018-10-08 12:12     ` Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0C09AFA07DD0434D9E2A0C6AEB0483103BBB29E0@shsmsx102.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox