Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 PR/51016: David Binderman: comment out poin...



details:   https://anonhg.NetBSD.org/src/rev/893462e6aa71
branches:  trunk
changeset: 344452:893462e6aa71
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 30 21:16:22 2016 +0000

description:
PR/51016: David Binderman: comment out pointless code.

diffstat:

 sys/arch/x86/x86/powernow.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r ef1e5d147f5f -r 893462e6aa71 sys/arch/x86/x86/powernow.c
--- a/sys/arch/x86/x86/powernow.c       Wed Mar 30 21:14:54 2016 +0000
+++ b/sys/arch/x86/x86/powernow.c       Wed Mar 30 21:16:22 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: powernow.c,v 1.8 2013/11/15 08:47:55 msaitoh Exp $ */
+/*     $NetBSD: powernow.c,v 1.9 2016/03/30 21:16:22 christos Exp $ */
 /*     $OpenBSD: powernow-k8.c,v 1.8 2006/06/16 05:58:50 gwk Exp $ */
 
 /*-
@@ -57,7 +57,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: powernow.c,v 1.8 2013/11/15 08:47:55 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: powernow.c,v 1.9 2016/03/30 21:16:22 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -906,8 +906,10 @@
                COUNT_OFF_VST(sc->sc_state->vst);
        }
 
+#if 0
        if (cfid == fid || cvid == vid)
                freq = sc->sc_state->state_table[i].freq;
+#endif
 
        return 0;
 }



Home | Main Index | Thread Index | Old Index