Module Name: src
Committed By: martin
Date: Sun Nov 17 19:22:06 UTC 2013
Modified Files:
src/sys/arch/x86/x86: intel_busclock.c
Log Message:
Remove an unused variable
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x86/x86/intel_busclock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/x86/intel_busclock.c
diff -u src/sys/arch/x86/x86/intel_busclock.c:1.17 src/sys/arch/x86/x86/intel_busclock.c:1.18
--- src/sys/arch/x86/x86/intel_busclock.c:1.17 Fri Nov 15 08:47:55 2013
+++ src/sys/arch/x86/x86/intel_busclock.c Sun Nov 17 19:22:06 2013
@@ -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 @@ p3_get_bus_clock(struct cpu_info *ci)
{
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) {