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 Remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/6a34e233054d
branches:  trunk
changeset: 791423:6a34e233054d
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Nov 17 18:08:08 2013 +0000

description:
Remove unused variable

diffstat:

 sys/arch/x86/x86/coretemp.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 8c990ad835cd -r 6a34e233054d sys/arch/x86/x86/coretemp.c
--- a/sys/arch/x86/x86/coretemp.c       Sun Nov 17 17:16:24 2013 +0000
+++ b/sys/arch/x86/x86/coretemp.c       Sun Nov 17 18:08:08 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: coretemp.c,v 1.31 2013/11/15 08:47:55 msaitoh Exp $ */
+/* $NetBSD: coretemp.c,v 1.32 2013/11/17 18:08:08 martin Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: coretemp.c,v 1.31 2013/11/15 08:47:55 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: coretemp.c,v 1.32 2013/11/17 18:08:08 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -256,10 +256,9 @@
 {
        struct coretemp_softc *sc = device_private(self);
        struct cpu_info *ci = sc->sc_ci;
-       uint32_t family, model, stepping;
+       uint32_t model, stepping;
        uint64_t msr;
 
-       family = CPUID_TO_FAMILY(ci->ci_signature);
        model = CPUID_TO_MODEL(ci->ci_signature);
        stepping = CPUID_TO_STEPPING(ci->ci_signature);
 



Home | Main Index | Thread Index | Old Index