Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
UefiCpuPkg/CpuDxe/CpuPageTable.c | 6 --
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 1 -
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 2 --
UefiCpuPkg
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 1 -
MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf | 1 -
.../Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c | 1
://bugzilla.tianocore.org/show_bug.cgi?id=1011
Cc:Star Zeng
Cc:Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang
---
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf | 1 -
MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf | 1
://bugzilla.tianocore.org/show_bug.cgi?id=1033
https://bugzilla.tianocore.org/show_bug.cgi?id=1012
https://bugzilla.tianocore.org/show_bug.cgi?id=1011
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus/Ata/AtaBusDxe
=1056
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 1 -
MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf | 1 -
.../Application/SmiHandlerProfileInfo
Some dead code has been removed in .c and .h files.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Application/CapsuleApp/CapsuleDump.c | 31 ---
MdeModulePkg
Some dead code functions and redundant definitions
have been removed in inf, .c and .h files.
https://bugzilla.tianocore.org/show_bug.cgi?id=1063
Cc: Liming Gao
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Bus/Isa/IsaIoDxe/IsaDriver.h
A redundant GUID and some library classes are removed
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPei.h | 1 -
MdeModulePkg
()".
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Application/UiApp/FrontPage.c | 51 --
1 file changed, 17 insertions(+), 34 deletions(-
Agreement 1.1
Signed-off-by: shenglei
---
ShellPkg/Application/Shell/Shell.c| 29 ---
ShellPkg/Application/Shell/Shell.h| 13 ---
.../Shell/ShellParametersProtocol.c | 24 --
ShellPkg/Application/Shell/ShellProtocol.c| 81 +--
4 files
A lot of redundant funcions which are never calld have been removed.I manually
search these fuctions in source files to make sure that they are not used
elsewhere.
Also the IntelFrameworkModulePkg was built to ensure that.
A redundant protocol and two LibraryClasses have been removed.
shenglei
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Bus/Pci/IdeBusDxe/Ata.c | 119
.../Bus/Pci/IdeBusDxe/DriverConfiguration.c | 261 --
.../Bus/Pci/IdeBusDxe/Ide.h | 24 --
.../Bus/Pci/IdeBusDxe
Agreement 1.1
Signed-off-by: shenglei
---
.../Csm/BiosThunk/Snp16Dxe/BiosSnp16.h| 180 --
.../Csm/BiosThunk/Snp16Dxe/PxeUndi.c | 91 -
2 files changed, 271 deletions(-)
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h
b
Remove a redundant protocol which is gEfiGenericMemTestProtocolGuid.
https://bugzilla.tianocore.org/show_bug.cgi?id=1063
Cc: Liming Gao
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaDriver.h | 1
The redundant LibraryClasses which are PeCoffLib and CacheMaintenanceLib
have been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1063
Cc: Liming Gao
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
IntelFrameworkModulePkg/Csm/LegacyBiosDxe
Agreement 1.1
Signed-off-by: shenglei
---
.../Universal/BdsDxe/BootMaint/BmLib.c| 36 ---
.../Universal/BdsDxe/BootMaint/BootMaint.h| 53 ---
.../Universal/BdsDxe/BootMaint/BootOption.c | 62 --
.../BdsDxe/BootMaint/ConsoleOption.c | 64
The redundant function DisableKeyboard which is never called
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1063
Cc: Liming Gao
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c| 25
The functions that are never called have been removed.
They are AhciCheckDeviceStatus and AhciPortReset.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Bus/Ata
The functions that are never called have been removed.
They are SdCardGetCsd and SdCardGetScr.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe
Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Bus/Pci/NvmExpressDxe/NvmExpressHci.c | 110 --
1 file changed, 110 deletions(-)
diff --git a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c
b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c
index 30ade3a589
The functions that are never called have been removed.
They are EhcDumpRegs,EhcDisableAsyncSchd and EhcDisablePeriodSchd
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
-by: shenglei
---
MdeModulePkg/Application/UiApp/FrontPage.c | 40 --
MdeModulePkg/Application/UiApp/Ui.h| 30
2 files changed, 70 deletions(-)
diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c
b/MdeModulePkg/Application/UiApp/FrontPage.c
index
The function DumpImageAuthentication that is never calld
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Application/CapsuleApp/CapsuleDump.c | 31
The functions that are never called have been removed.
They are PeiHubSetHubFeature,IsPortConnectChange and
PeiUsbClearDeviceFeature.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
,AdjustMemoryA,
AdjustMemoryS,IsHeadGuard and IsTailGuard.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Core/PiSmmCore/HeapGuard.c | 166
The function IsDevicePathExist that is never called
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Universal/SetupBrowserDxe/IfrParse.c | 33
The function EmmcPeimUnlinkMemBlock that is never calld
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Bus/Sd/EmmcBlockIoPei/EmmcHcMem.c | 24
The function GetStorageWidth that is never calld
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Universal/HiiDatabaseDxe/ConfigRouting.c | 47
The functions that are never called have been removed.
They are SockRcvdErr,SockGroup and TcpPawsOK.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Universal/Network
The function UnicodeFiFoGetKeyCount that is never calld
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Universal/Console/TerminalDxe/Terminal.h | 12
The function Ip4Config2OnDhcp4Event that is never calld
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Universal/Network/Ip4Dxe/Ip4Config2Impl.c| 16
The function SdPeimUnlinkMemBlock that is never calld
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHcMem.c | 24
The function IScsiFindTcbByITT that is never calld
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Universal/Network/IScsiDxe/IScsiProto.c | 31
The function DisableKeyboard that is never calld
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c| 26
-off-by: shenglei
---
MdeModulePkg/Core/Dxe/DxeMain.h | 13 -
MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 22 ---
MdeModulePkg/Core/Dxe/Mem/HeapGuard.c | 78 -
3 files changed, 113 deletions(-)
diff --git a/MdeModulePkg/Core/Dxe/DxeMain.h b/MdeModulePkg
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c | 68 -
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c | 146
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.h | 114 ---
3 files changed, 328
: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.c | 101 --
MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsHcMem.c | 24 ---
MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsHci.c | 180 --
3 files changed, 305 deletions(-)
diff
The functions that are never called have been removed.
They are XhcReadDoorBellReg and XhcWriteOpReg16.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus/Pci
Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus/Pci/UhciPei/DmaMem.c | 22 -
MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.c | 125 -
MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.h | 78 ---
3 files changed, 225
The functions that are never called have been removed.
They are XhcPeiReadDoorBellReg and UsbHcUnlinkMemBlock.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus
A lot of redundant functions which are never calld have been removed.I manually
search these fuctions in source files to make sure that they are not used
elsewhere.
Also the MdeModulePkg was built to ensure that.
shenglei (26):
MdeModulePkg CapsuleApp: Remove a redundant function
The functions that are never called have been removed.
They are UpStreamBridgesAttributes and GetHpcPciAddressFromRootBridge.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.c | 190 -
MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.h | 98 ---
2 files changed, 288 deletions(-)
diff --git a/MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.c
b
The functions that are never called have been removed.
They are UfsClearFlag and UfsFindAvailableSlotInTmrl.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Bus/Ufs
The PCD below is unused, so it has been removed from inf.
gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSupport
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf | 1 -
1 file changed, 1
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision
Cc: Jiewen Yao
Cc: Chao Zhang
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
SecurityPkg/Tcg/Tcg2Config
A lot of unused PCDs are removed from inf.
shenglei (5):
MdeModulePkg: Remove unused PCDs from inf
IntelFsp2Pkg: Remove unused PCDs
SecurityPkg: Remove unused PCDs
ShellPkg: Remove unused PCDs
UefiCpuPkg: Remove unused PCDs
IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf | 6
gEfiShellPkgTokenSpaceGuid.PcdShellPrintBufferSize
gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize
gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength
Cc: Jaben Carsey
Cc: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
ShellPkg/Application/Shell/Shell.inf
: Jiewen Yao
Cc: Chasel Chiu
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf | 6 --
IntelFsp2Pkg/FspSecCore/FspSecCoreS.inf | 11 ---
IntelFsp2Pkg/FspSecCore/FspSecCoreT.inf
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeResettingSystem
gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Library
.
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 1 -
MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf | 1 -
.../Application/SmiHandlerProfileInfo
1.1
Signed-off-by: shenglei
Reviewed-by: Jiewen Yao
---
.../SystemFirmwareCommonDxe.c | 27 ---
.../SystemFirmwareUpdate/SystemFirmwareDxe.h | 1 -
.../SystemFirmwareReportDxe.inf | 2 --
.../SystemFirmwareUpdateDxe.inf | 1 -
4 fil
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 1 -
MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf | 1 -
.../Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c | 1
The function IsDevicePathExist that is never called
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Universal/SetupBrowserDxe/IfrParse.c | 33
The function UnicodeFiFoGetKeyCount that is never called
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Ruiyu Ni
Reviewed-by: Star Zeng
Reviewed
o been removed, whose judgment condition
is "IsResetReminderFeatureEnable()".
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Application/UiApp/FrontPage.c | 51 +++
Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Hao Wu
Reviewed-by: Star Zeng
---
MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHcMem.c | 26 --
1 file changed, 26 deletions(-)
diff --git a/MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHcMem.c
b/MdeModulePkg/Bus/Sd/SdBlockIoPei/SdHcMem.c
index
The functions that are never called have been removed.
They are SockRcvdErr,SockGroup and TcpPawsOK.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Laszlo Ersek
The function GetStorageWidth that is never called
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Star Zeng
Reviewed-by: Laszlo Ersek
Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Hao Wu
Reviewed-by: Star Zeng
---
.../Bus/Sd/EmmcBlockIoPei/EmmcHcMem.c | 26 ---
1 file changed, 26 deletions(-)
diff --git a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHcMem.c
b/MdeModulePkg/Bus/Sd/EmmcBlockIoPei
-by: shenglei
Reviewed-by: Laszlo Ersek
Reviewed-by: Star Zeng
---
MdeModulePkg/Application/UiApp/FrontPage.c | 40 --
MdeModulePkg/Application/UiApp/Ui.h| 30
2 files changed, 70 deletions(-)
diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c
b
.
shenglei (27):
MdeModulePkg CapsuleApp: Remove a redundant function
MdeModulePkg UiApp: Remove redundant functions
MdeModulePkg AtaAtapiPassThru: Remove redundant functions
MdeModulePkg EhciDxe: Remove redundant functions
MdeModulePkg NvmExpressDxe: Remove redundant functions
MdeModulePkg
The functions that are never called have been removed.
They are UfsClearFlag and UfsFindAvailableSlotInTmrl.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Hao Wu
The functions that are never called have been removed.
They are EhcDumpRegs,EhcDisableAsyncSchd and EhcDisablePeriodSchd
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed
Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Ruiyu Ni
Reviewed-by: Star Zeng
---
MdeModulePkg/Bus/Pci/UhciPei/DmaMem.c | 22 -
MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.c | 125 -
MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.h
The functions that are never called have been removed.
They are XhcReadDoorBellReg and XhcWriteOpReg16.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Ruiyu Ni
Reviewed-by: Laszlo Ersek
Reviewed-by: Star Zeng
---
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c | 68 -
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c | 146
MdeModulePkg/Bus
-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Star Zeng
---
MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.c | 190 -
MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.h | 98 ---
2 files changed, 288 deletions(-)
diff --git a/MdeModulePkg/Bus/Usb
The functions that are never called have been removed.
They are XhcPeiReadDoorBellReg and UsbHcUnlinkMemBlock.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Ruiyu Ni
'UfsPeimUnlinkMemBlock'
within function UfsPeimFreeMemPool().
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Hao Wu
Reviewed-by: Star Zeng
---
.../Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.c | 101 --
MdeModulePkg/Bus/Ufs
Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Star Zeng
Reviewed-by: Laszlo Ersek
Reviewed-by: Hao Wu
---
.../Bus/Pci/NvmExpressDxe/NvmExpressHci.c | 110 --
1 file changed, 110 deletions(-)
diff --git a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c
b
The functions that are never called have been removed.
They are UpStreamBridgesAttributes and GetHpcPciAddressFromRootBridge.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed
-off-by: shenglei
Reviewed-by: Ruiyu Ni
Reviewed-by: Jian J Wang mailto:jian.j.wang at
intel.com>>
Reviewed-by: Laszlo Ersek
Reviewed-by: Star Zeng
---
MdeModulePkg/Core/Dxe/DxeMain.h | 13 -
MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 22 ---
MdeModulePkg/Core/D
The function Ip4Config2OnDhcp4Event that is never called
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Laszlo Ersek
---
.../Universal/Network
calls
SmmMemoryMapConsistencyCheck().
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Jian J Wang mailto:jian.j.wang at
intel.com>>
---
MdeModulePkg/Core/PiSmmCore/HeapGuard.c | 166 --
..
The function IScsiFindTcbByITT that is never called
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Laszlo Ersek
---
.../Universal/Network/IScsiDxe
The function DisableKeyboard that is never called
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Ruiyu Ni
Reviewed-by: Laszlo Ersek
Reviewed
message.
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Laszlo Ersek
Reviewed-by: Star Zeng
---
.../Bus/Ata/AtaAtapiPassThru/AhciMode.c | 104 ---
.../Bus/Ata/AtaAtapiPassThru/IdeMode.c| 257
The functions that are never called have been removed.
They are SdCardGetCsd and SdCardGetScr.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe
The functions that are never called have been removed.
They are PeiHubSetHubFeature,IsPortConnectChange and
PeiUsbClearDeviceFeature.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
The function DumpImageAuthentication that is never called
has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Star Zeng
---
.../Application/CapsuleApp
Some redundant definitions adn comments
have been removed in .c and .h files.
https://bugzilla.tianocore.org/show_bug.cgi?id=1063
Cc: Liming Gao
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Bus/Isa/IsaIoDxe/IsaDriver.h | 1 -
.../Bus
Some comments including the redundant functions removed
before have been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1062
Cc: Star Zeng
Cc: Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHcMem.c
Two redundant library classes have been removed.
The redundant function "IsSystemFmp" has been removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1067
Cc: Jiewen Yao
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../SystemFirmwareC
The PCD below is unused, so it has been removed from inf.
gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSupport
Cc: Eric Dong
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Eric Dong
---
UefiCpuPkg/Library/CpuCommonFeaturesLib
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeResettingSystem
gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize
Cc: Star Zeng
Cc: Eric Dong
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../Library/DxeCapsuleLibFmp
The PCD below is unused, so it has been removed from inf.
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask
Cc: Michael D Kinney
Cc: Liming Gao
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdePkg/Library/BaseLib/BaseLib.inf | 1 -
1 file
Contribution Agreement 1.1
Signed-off-by: shenglei
---
.../FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf| 1 -
.../BaseFspWrapperPlatformLibSample.inf| 3 ---
2 files changed, 4 deletions(-)
diff --git a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe
Cc: Michael D Kinney
Cc: Liming Gao
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
MdePkg/Include/Protocol/AbsolutePointer.h| 3 +++
MdePkg/Include/Protocol/AcpiSystemDescriptionTable.h | 3 +++
MdePkg/Include/Protocol/AcpiTable.h
The PCD below is unused, so it has been removed from inf.
gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize
Cc: Star Zeng
Cc: Eric Dong
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Star Zeng
The PCD below is unused, so it has been removed from inf.
gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSupport
Cc: Eric Dong
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Eric Dong
---
UefiCpuPkg/Library/CpuCommonFeaturesLib
The PCD below is unused, so it has been removed from inf.
gEfiShellPkgTokenSpaceGuid.PcdShellPrintBufferSize
Cc: Jaben Carsey
Cc: Ruiyu Ni
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Ruiyu Ni
---
ShellPkg/Library
The PCDs below are unused, so they have been removed from inf.
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize
gEfiShellPkgTokenSpaceGuid.PcdShellMapNameLength
Cc: Jaben Carsey
Cc: Ruiyu Ni
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
The PCD below is unused, so it has been removed from inf.
gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress
Cc: Jiewen Yao
Cc: Chao Zhang
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Chao Zhang
---
SecurityPkg/Tcg/Tcg2Config
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeResettingSystem
The library Pcdlib is not linked??? so "#include "
is deleted.
Cc: Star Zeng
Cc: Eric Dong
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Star Zeng
---
Md
The PCD below is unused, so it has been removed from inf.
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask
Cc: Michael D Kinney
Cc: Liming Gao
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Laszlo Ersek
---
MdePkg/Library/BaseLib
-by: shenglei
Reviewed-by: Ruiyu Ni
---
.../UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf | 2 --
1 file changed, 2 deletions(-)
diff --git
a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
b/ShellPkg/Library/UefiShellDebug1CommandsLib
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision
Cc: Jiewen Yao
Cc: Chao Zhang
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
Reviewed-by: Chao Zhang
---
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf | 6
The PCD below is unused, so it has been removed from inf.
gIntelFsp2WrapperTokenSpaceGuid.PcdFspsBaseAddress
Cc: Jiewen Yao
Cc: Chasel Chiu
Cc: Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei
---
IntelFsp2WrapperPkg/FspWrapperNotifyDxe
s.
3.Split IntelFsp2WrapperPkg into separated patches.
4.Split IntelFspPkg into separated patches.
5.Update the message in the cover letter.
shenglei (16):
IntelFsp2Pkg FspSecCore: Remove unused PCDs
IntelFsp2Pkg/BaseFspCommonLib: Remove unused PCDs
IntelFsp2Pkg/BaseFspPlatformLib: Remove u
1 - 100 of 356 matches
Mail list logo