Vlv2TbltDevicePkg/PlatformPei: Remove the unused variable
Fix the following error from gcc: Vlv2TbltDevicePkg/PlatformPei/MemoryCallback.c: In function ?MemoryDiscoveredPpiNotifyCallback?: Vlv2TbltDevicePkg/PlatformPei/MemoryCallback.c:115:20: error: variable ?Status? set but not used [-Werror=unused-but-set-variable] Cc: David Wei <david.wei@intel.com> Cc: "Wu, Hao A" <hao.a.wu@intel.com> Cc: "Lu, ShifeiX A" <shifeix.a.lu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: David Wei <david.wei@intel.com>
This commit is contained in:
@@ -103,7 +103,6 @@ MemoryDiscoveredPpiNotifyCallback (
|
||||
|
||||
@retval EFI_SUCCESS If the function completed successfully.
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
MemoryDiscoveredPpiNotifyCallback (
|
||||
@@ -113,10 +112,10 @@ MemoryDiscoveredPpiNotifyCallback (
|
||||
)
|
||||
{
|
||||
|
||||
EFI_BOOT_MODE BootMode;
|
||||
UINT32 Pages;
|
||||
VOID* Memory;
|
||||
UINTN Size;
|
||||
EFI_BOOT_MODE BootMode;
|
||||
UINT32 Pages;
|
||||
VOID* Memory;
|
||||
UINTN Size;
|
||||
|
||||
//
|
||||
// Allocate LM memory and configure PDM if enabled by user.
|
||||
|
Reference in New Issue
Block a user