summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--UefiCpuPkg/Application/Cpuid/Cpuid.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/UefiCpuPkg/Application/Cpuid/Cpuid.c b/UefiCpuPkg/Application/Cpuid/Cpuid.c
index 366c3ca205..b05da3ee0c 100644
--- a/UefiCpuPkg/Application/Cpuid/Cpuid.c
+++ b/UefiCpuPkg/Application/Cpuid/Cpuid.c
@@ -213,10 +213,6 @@ CpuidVersionInfo (
UINTN DisplayFamily;
UINTN DisplayModel;
- if (CPUID_VERSION_INFO > gMaximumBasicFunction) {
- return;
- }
-
AsmCpuid (CPUID_VERSION_INFO, &Eax.Uint32, &Ebx.Uint32, &Ecx.Uint32, &Edx.Uint32);
Print (L"CPUID_VERSION_INFO (Leaf %08x)\n", CPUID_VERSION_INFO);