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 an unused variable
details: https://anonhg.NetBSD.org/src/rev/5dc3545104b7
branches: trunk
changeset: 791425:5dc3545104b7
user: martin <martin%NetBSD.org@localhost>
date: Sun Nov 17 19:22:06 2013 +0000
description:
Remove an unused variable
diffstat:
sys/arch/x86/x86/intel_busclock.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r b283863db507 -r 5dc3545104b7 sys/arch/x86/x86/intel_busclock.c
--- a/sys/arch/x86/x86/intel_busclock.c Sun Nov 17 18:58:28 2013 +0000
+++ b/sys/arch/x86/x86/intel_busclock.c Sun Nov 17 19:22:06 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intel_busclock.c,v 1.17 2013/11/15 08:47:55 msaitoh Exp $ */
+/* $NetBSD: intel_busclock.c,v 1.18 2013/11/17 19:22:06 martin 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.17 2013/11/15 08:47:55 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_busclock.c,v 1.18 2013/11/17 19:22:06 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -92,9 +92,8 @@
{
uint64_t msr;
int bus, bus_clock = 0;
- uint32_t family, model;
+ uint32_t model;
- family = CPUID_TO_FAMILY(ci->ci_signature);
model = CPUID_TO_MODEL(ci->ci_signature);
switch (model) {
Home |
Main Index |
Thread Index |
Old Index