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 variables.



details:   https://anonhg.NetBSD.org/src/rev/f8685ccbf100
branches:  trunk
changeset: 828067:f8685ccbf100
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Nov 26 11:37:10 2017 +0000

description:
Remove unused variables.

diffstat:

 sys/arch/x86/x86/ioapic.c |  6 ++----
 sys/arch/x86/x86/lapic.c  |  5 ++---
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs (53 lines):

diff -r b51c0744f4dc -r f8685ccbf100 sys/arch/x86/x86/ioapic.c
--- a/sys/arch/x86/x86/ioapic.c Sun Nov 26 11:08:34 2017 +0000
+++ b/sys/arch/x86/x86/ioapic.c Sun Nov 26 11:37:10 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ioapic.c,v 1.54 2017/11/13 11:45:54 nakayama Exp $     */
+/*     $NetBSD: ioapic.c,v 1.55 2017/11/26 11:37:10 maxv Exp $ */
 
 /*-
  * Copyright (c) 2000, 2009 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ioapic.c,v 1.54 2017/11/13 11:45:54 nakayama Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ioapic.c,v 1.55 2017/11/26 11:37:10 maxv Exp $");
 
 #include "opt_ddb.h"
 
@@ -112,8 +112,6 @@
 static void ioapic_addroute(struct pic *, struct cpu_info *, int, int, int);
 static void ioapic_delroute(struct pic *, struct cpu_info *, int, int, int);
 
-int apic_verbose = 0;
-
 struct ioapic_softc *ioapics;   /* head of linked list */
 int nioapics = 0;               /* number attached */
 static int ioapic_vecbase;
diff -r b51c0744f4dc -r f8685ccbf100 sys/arch/x86/x86/lapic.c
--- a/sys/arch/x86/x86/lapic.c  Sun Nov 26 11:08:34 2017 +0000
+++ b/sys/arch/x86/x86/lapic.c  Sun Nov 26 11:37:10 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lapic.c,v 1.64 2017/11/23 19:53:20 jmcneill Exp $      */
+/*     $NetBSD: lapic.c,v 1.65 2017/11/26 11:37:10 maxv Exp $  */
 
 /*-
  * Copyright (c) 2000, 2008 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.64 2017/11/23 19:53:20 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.65 2017/11/26 11:37:10 maxv Exp $");
 
 #include "acpica.h"
 #include "ioapic.h"
@@ -494,7 +494,6 @@
 
 #include <sys/kernel.h>                /* for hz */
 
-int lapic_timer = 0;
 uint32_t lapic_tval;
 
 /*



Home | Main Index | Thread Index | Old Index