diff options
author | 2010-06-06 11:26:11 +0000 | |
---|---|---|
committer | 2010-06-06 11:26:11 +0000 | |
commit | 37403acf15ee59a1ad8431ff05034a8b7abb2831 (patch) | |
tree | 2bfed1980e1447672fc4e78397c02186ba23db03 | |
parent | Avoid computing a symbol with arithmetic involving a common, modern binutils (diff) | |
download | wireguard-openbsd-37403acf15ee59a1ad8431ff05034a8b7abb2831.tar.xz wireguard-openbsd-37403acf15ee59a1ad8431ff05034a8b7abb2831.zip |
Kill unused sio_intr_count.
-rw-r--r-- | sys/arch/alpha/pci/sio.c | 4 | ||||
-rw-r--r-- | sys/arch/alpha/pci/siovar.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/alpha/pci/sio.c b/sys/arch/alpha/pci/sio.c index ee7994d7b90..bffe3e3aa63 100644 --- a/sys/arch/alpha/pci/sio.c +++ b/sys/arch/alpha/pci/sio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sio.c,v 1.35 2008/07/29 18:40:23 miod Exp $ */ +/* $OpenBSD: sio.c,v 1.36 2010/06/06 11:26:11 miod Exp $ */ /* $NetBSD: sio.c,v 1.15 1996/12/05 01:39:36 cgd Exp $ */ /* @@ -152,8 +152,6 @@ sioattach(parent, self, aux) sc->sc_haseisa = (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL && PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_PCEB); - evcount_attach(&sio_intr_count, self->dv_xname, NULL, &evcount_intr); - config_defer(self, sio_bridge_callback); } diff --git a/sys/arch/alpha/pci/siovar.h b/sys/arch/alpha/pci/siovar.h index 0e4a41c8cac..ca5e6937480 100644 --- a/sys/arch/alpha/pci/siovar.h +++ b/sys/arch/alpha/pci/siovar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: siovar.h,v 1.13 2009/08/22 02:54:50 mk Exp $ */ +/* $OpenBSD: siovar.h,v 1.14 2010/06/06 11:26:11 miod Exp $ */ /* $NetBSD: siovar.h,v 1.5 1996/10/23 04:12:34 cgd Exp $ */ /* @@ -38,5 +38,3 @@ int sio_intr_line(void *, int); void *sio_intr_establish(void *, int, int, int, int (*)(void *), void *, const char *); void sio_intr_disestablish(void *, void *); - -struct evcount sio_intr_count; |