From 4b556a16d3e84b07766b76c2aee4586d08ef7c00 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 26 May 2009 12:33:06 +0000 Subject: remove some dead code from cpu.c (trivial) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4300 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/lib/cpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/arch/i386/lib') diff --git a/src/arch/i386/lib/cpu.c b/src/arch/i386/lib/cpu.c index f461bbe330..247ee88c0c 100644 --- a/src/arch/i386/lib/cpu.c +++ b/src/arch/i386/lib/cpu.c @@ -134,11 +134,9 @@ static const char *cpu_vendor_name(int vendor) 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 @@ static void identify_cpu(struct device *cpu) } } if (have_cpuid_p()) { + int cpuid_level; struct cpuid_result result; result = cpuid(0x00000000); cpuid_level = result.eax; -- cgit v1.2.3