summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2008-07-01 12:03:49 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2008-07-01 12:03:49 +0000
commitb40cd7eac5aa838e6fe1bf9537f9d9dd15f81dd8 (patch)
treedde6626dba22f4fa7ceea7c5fe53681e92652ffb
parent942336469cb06f1a01891d64851c98618831751e (diff)
Remove a now unused variable.
-rw-r--r--sys/arch/i386/i386/amdmsr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/amdmsr.c b/sys/arch/i386/i386/amdmsr.c
index 88bc6dc17a5..48fd565c24e 100644
--- a/sys/arch/i386/i386/amdmsr.c
+++ b/sys/arch/i386/i386/amdmsr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amdmsr.c,v 1.7 2008/07/01 11:58:50 mbalmer Exp $ */
+/* $OpenBSD: amdmsr.c,v 1.8 2008/07/01 12:03:48 mbalmer Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -67,11 +67,10 @@ amdmsr_probe(void)
{
#ifdef APERTURE
u_int64_t gld_msr_cap;
- int family, model, step;
+ int family, model;
family = (cpu_id >> 8) & 0xf;
model = (cpu_id >> 4) & 0xf;
- step = (cpu_id >> 0) & 0xf;
/* Check for AMD Geode LX CPU */
if (strcmp(cpu_vendor, "AuthenticAMD") == 0 && family == 0x5 &&