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 CID 1128377: Comment out unreachable code; ...



details:   https://anonhg.NetBSD.org/src/rev/9cb9fffc0e0a
branches:  trunk
changeset: 791282:9cb9fffc0e0a
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 11 17:02:53 2013 +0000

description:
CID 1128377: Comment out unreachable code; model is only 4 bits wide, so
none of these constants can ever match.

diffstat:

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

diffs (34 lines):

diff -r 524abea31d66 -r 9cb9fffc0e0a sys/arch/x86/x86/intel_busclock.c
--- a/sys/arch/x86/x86/intel_busclock.c Mon Nov 11 16:46:20 2013 +0000
+++ b/sys/arch/x86/x86/intel_busclock.c Mon Nov 11 17:02:53 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_busclock.c,v 1.14 2013/11/07 18:17:13 msaitoh Exp $      */
+/*     $NetBSD: intel_busclock.c,v 1.15 2013/11/11 17:02:53 christos Exp $     */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_busclock.c,v 1.14 2013/11/07 18:17:13 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_busclock.c,v 1.15 2013/11/11 17:02:53 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -213,6 +213,7 @@
                        goto print_msr;
                }
                break;
+#if 0
        case 0x1c: /* Atom */
        case 0x26:
        case 0x27:
@@ -273,6 +274,7 @@
                        goto print_msr;
                }
                break;
+#endif
        default:
                aprint_debug("%s: unknown i686 model %d, can't get bus clock",
                    device_xname(ci->ci_dev),



Home | Main Index | Thread Index | Old Index