summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-10-16 12:30:50 +0000
committerderaadt <deraadt@openbsd.org>1996-10-16 12:30:50 +0000
commit3866e821c923a221e17ba97717eb39b3c849c983 (patch)
treeea4f8c3784cff5ac09ccd5099e55e3b1f39e12a0
parentcontextual usage only (diff)
downloadwireguard-openbsd-3866e821c923a221e17ba97717eb39b3c849c983.tar.xz
wireguard-openbsd-3866e821c923a221e17ba97717eb39b3c849c983.zip
unused vars
-rw-r--r--sys/dev/isa/bt.c4
-rw-r--r--sys/dev/isa/if_ed.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/isa/bt.c b/sys/dev/isa/bt.c
index 7784ced524a..311e1790c1e 100644
--- a/sys/dev/isa/bt.c
+++ b/sys/dev/isa/bt.c
@@ -674,8 +674,9 @@ bt_collect_mbo(sc)
struct bt_softc *sc;
{
struct bt_mbx_out *wmbo; /* Mail Box Out pointer */
+#ifdef BTDIAG
struct bt_ccb *ccb;
-
+#endif
wmbo = wmbx->cmbo;
while (sc->sc_mbofull > 0) {
@@ -826,7 +827,6 @@ bt_find(ia, sc)
u_char sts;
struct bt_extended_inquire inquire;
struct bt_config config;
- struct bt_revision revision;
struct bt_digit digit;
int irq, drq;
diff --git a/sys/dev/isa/if_ed.c b/sys/dev/isa/if_ed.c
index 08bb23b9165..318b7ca89bd 100644
--- a/sys/dev/isa/if_ed.c
+++ b/sys/dev/isa/if_ed.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ed.c,v 1.20 1996/10/05 00:08:39 niklas Exp $ */
+/* $OpenBSD: if_ed.c,v 1.21 1996/10/16 12:34:36 deraadt Exp $ */
/* $NetBSD: if_ed.c,v 1.100 1996/05/12 23:52:19 mycroft Exp $ */
/*
@@ -891,7 +891,7 @@ ed_find_3Com(sc, cf, ia)
bus_chipset_tag_t bc;
bus_io_handle_t ioh;
bus_mem_handle_t memh;
- int i, rv, mapped_mem = 0;
+ int i;
u_int memsize, memfail;
u_char isa16bit, x;
int ptr, asicbase, nicbase;