summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorGordon Willem Klok <gwk@cvs.openbsd.org>2006-04-15 05:17:18 +0000
committerGordon Willem Klok <gwk@cvs.openbsd.org>2006-04-15 05:17:18 +0000
commit80086b07788bf6ab704a39d60d687b36cf77e40c (patch)
tree3883183178f56ed7c223597ca8ccf1abcb2993ae /sys/arch
parent8eadb7240f29ba5a6790a635ad1b703abe7c105e (diff)
Don't bother setting the frequency entry in the available states table
to -1 we never check for it. (As has been the case on K8 for a long time). ok dlg@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/powernow-k7.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/i386/i386/powernow-k7.c b/sys/arch/i386/i386/powernow-k7.c
index 88cf910ae33..8e5ed94c4c4 100644
--- a/sys/arch/i386/i386/powernow-k7.c
+++ b/sys/arch/i386/i386/powernow-k7.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: powernow-k7.c,v 1.16 2006/04/15 05:13:54 gwk Exp $ */
+/* $OpenBSD: powernow-k7.c,v 1.17 2006/04/15 05:17:17 gwk Exp $ */
/*
* Copyright (c) 2004 Martin Végiard.
@@ -225,9 +225,6 @@ k7pnow_decode_pst(struct k7pnow_cpu_state * cstate, uint8_t *p, int npst)
int i, j, n;
struct k7pnow_state state;
- for (i = 0; i < POWERNOW_MAX_STATES; ++i)
- cstate->state_table[i].freq = -1;
-
for (n = 0, i = 0; i < npst; ++i) {
state.fid = *p++;
state.vid = *p++;