summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-10-16 12:36:29 +0000
committerderaadt <deraadt@openbsd.org>1996-10-16 12:36:29 +0000
commit697667179d51a610e7e1193494b2aefca2079cea (patch)
tree790da34d087546cf7d0f1db535c592b1d7960e3e
parentunused vars, protos (diff)
downloadwireguard-openbsd-697667179d51a610e7e1193494b2aefca2079cea.tar.xz
wireguard-openbsd-697667179d51a610e7e1193494b2aefca2079cea.zip
unused var
-rw-r--r--sys/dev/pci/ahc_pci.c3
-rw-r--r--sys/dev/pcmcia/if_ep_pcmcia.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/ahc_pci.c b/sys/dev/pci/ahc_pci.c
index 903df7a1e60..51dbef09864 100644
--- a/sys/dev/pci/ahc_pci.c
+++ b/sys/dev/pci/ahc_pci.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ahc_pci.c,v 1.3 1996/08/21 22:27:49 deraadt Exp $
+ * $Id: ahc_pci.c,v 1.4 1996/10/16 12:40:55 deraadt Exp $
*/
#if defined(__FreeBSD__)
@@ -289,7 +289,6 @@ ahc_pci_attach(parent, self, aux)
#elif defined(__NetBSD__) || defined(__OpenBSD__)
struct pci_attach_args *pa = aux;
struct ahc_data *ahc = (void *)self;
- int unit = ahc->sc_dev.dv_unit;
bus_io_addr_t iobase;
bus_io_size_t iosize;
bus_io_handle_t ioh;
diff --git a/sys/dev/pcmcia/if_ep_pcmcia.c b/sys/dev/pcmcia/if_ep_pcmcia.c
index 4d852b5f05b..0a921e1f153 100644
--- a/sys/dev/pcmcia/if_ep_pcmcia.c
+++ b/sys/dev/pcmcia/if_ep_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ep_pcmcia.c,v 1.3 1996/05/07 07:34:16 deraadt Exp $ */
+/* $OpenBSD: if_ep_pcmcia.c,v 1.4 1996/10/16 12:36:29 deraadt Exp $ */
/* $NetBSD: if_ep.c,v 1.90 1996/04/11 22:29:15 cgd Exp $ */
/*
@@ -99,7 +99,6 @@ ep_pcmcia_isasetup(parent, match, aux, pc_link)
struct ifnet *ifp = &sc->sc_arpcom.ac_if;
bus_chipset_tag_t bc = sc->sc_bc;
bus_io_handle_t ioh = sc->sc_ioh;
- int i;
extern int ifqmaxlen;
bus_io_write_2(bc, ioh, EP_COMMAND, WINDOW_SELECT | 0);