]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/SmmCpuFeaturesLib: drop obsolete API implementation
authorLaszlo Ersek <lersek@redhat.com>
Tue, 3 Jan 2023 15:02:43 +0000 (16:02 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 4 Jan 2023 09:45:06 +0000 (09:45 +0000)
commitff379e1b489f1cde5edff1ef564ea97616e71972
tree32c726e81d305708691438c9a2d73daa252c0871
parentd452feedf21416320c44a6a3758b6c2d9b6ce2f6
UefiCpuPkg/SmmCpuFeaturesLib: drop obsolete API implementation

Commit 0426115b6738 ("UefiCpuPkg: Remove unused API in
SmmCpuFeaturesLib.h", 2022-12-21) removed the declaration of the function
SmmCpuFeaturesAllocatePageTableMemory() from the "SmmCpuFeaturesLib.h"
library class header.

Remove the API's (null-)implementation from UefiCpuPkg/SmmCpuFeaturesLib
as well.

Build-tested with:

  build -a IA32 -a X64 -b NOOPT -p UefiCpuPkg/UefiCpuPkg.dsc -t GCC5

Cc: Eric Dong <eric.dong@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4235
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Dun Tan <dun.tan@intel.com>
UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibCommon.c