[coreboot] [v2] r4300 - trunk/coreboot-v2/src/arch/i386/lib
svn at coreboot.org
svn at coreboot.org
Tue May 26 14:33:06 CEST 2009
Author: stepan
Date: 2009-05-26 14:33:06 +0200 (Tue, 26 May 2009)
New Revision: 4300
Modified:
trunk/coreboot-v2/src/arch/i386/lib/cpu.c
Log:
remove some dead code from cpu.c (trivial)
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/coreboot-v2/src/arch/i386/lib/cpu.c
===================================================================
--- trunk/coreboot-v2/src/arch/i386/lib/cpu.c 2009-05-26 12:22:10 UTC (rev 4299)
+++ trunk/coreboot-v2/src/arch/i386/lib/cpu.c 2009-05-26 12:33:06 UTC (rev 4300)
@@ -134,11 +134,9 @@
static void identify_cpu(struct device *cpu)
{
char vendor_name[16];
- int cpuid_level;
int i;
vendor_name[0] = '\0'; /* Unset */
- cpuid_level = -1; /* Maximum supported CPUID level, -1=no CPUID */
/* Find the id and vendor_name */
if (!have_cpuid_p()) {
@@ -158,6 +156,7 @@
}
}
if (have_cpuid_p()) {
+ int cpuid_level;
struct cpuid_result result;
result = cpuid(0x00000000);
cpuid_level = result.eax;
More information about the coreboot
mailing list