From: deraadt Date: Thu, 22 Jul 2010 00:41:29 +0000 (+0000) Subject: remove unused variable X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fa65dc86f568d6250c024e241b9bb9002d138eb9;p=openbsd remove unused variable --- diff --git a/sys/arch/amd64/amd64/ioapic.c b/sys/arch/amd64/amd64/ioapic.c index 87796bfc568..7c43b4bb653 100644 --- a/sys/arch/amd64/amd64/ioapic.c +++ b/sys/arch/amd64/amd64/ioapic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ioapic.c,v 1.18 2009/08/13 13:24:48 kettenis Exp $ */ +/* $OpenBSD: ioapic.c,v 1.19 2010/07/22 00:41:29 deraadt Exp $ */ /* $NetBSD: ioapic.c,v 1.6 2003/05/15 13:30:31 fvdl Exp $ */ /*- @@ -100,8 +100,6 @@ void ioapic_addroute(struct pic *, struct cpu_info *, int, int, int); void ioapic_delroute(struct pic *, struct cpu_info *, int, int, int); void apic_set_redir(struct ioapic_softc *, int, int, struct cpu_info *); -int apic_verbose = 0; - int ioapic_bsp_id = 0; int ioapic_cold = 1; diff --git a/sys/arch/i386/i386/ioapic.c b/sys/arch/i386/i386/ioapic.c index 3ea94c6252c..47439e2178f 100644 --- a/sys/arch/i386/i386/ioapic.c +++ b/sys/arch/i386/i386/ioapic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ioapic.c,v 1.22 2009/08/22 02:54:50 mk Exp $ */ +/* $OpenBSD: ioapic.c,v 1.23 2010/07/22 00:41:29 deraadt Exp $ */ /* $NetBSD: ioapic.c,v 1.7 2003/07/14 22:32:40 lukem Exp $ */ /*- @@ -105,8 +105,6 @@ void apic_vectorset(struct ioapic_softc *, int, int, int); void apic_stray(int); -int apic_verbose = 0; - int ioapic_bsp_id = 0; int ioapic_cold = 1; diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 1de611baca5..8645dbf5e2d 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.87 2010/06/28 18:50:37 claudio Exp $ */ +/* $OpenBSD: if_ether.c,v 1.88 2010/07/22 00:41:55 deraadt Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -87,7 +87,7 @@ void in_arpinput(struct mbuf *); LIST_HEAD(, llinfo_arp) llinfo_arp; struct ifqueue arpintrq = {0, 0, 0, 50}; -int arp_inuse, arp_allocated, arp_intimer; +int arp_inuse, arp_allocated; int arp_maxtries = 5; int useloopback = 1; /* use loopback interface for local traffic */ int arpinit_done;