summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2018-06-04 05:24:12 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2018-06-04 05:24:12 +0000
commit47f7b01589e0d1a8f8737c11886ea39a71aab8a9 (patch)
treea0783460c83893241cd7a4787b2f375fca7f6362 /sys/dev/isa
parent6c197d848df42a92aa361c79981e9b14f24513ad (diff)
Nuke unused variable.
ok deraadt@
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/nsclpcsio_isa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/isa/nsclpcsio_isa.c b/sys/dev/isa/nsclpcsio_isa.c
index 34b5090a247..beea21ef595 100644
--- a/sys/dev/isa/nsclpcsio_isa.c
+++ b/sys/dev/isa/nsclpcsio_isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nsclpcsio_isa.c,v 1.13 2008/10/15 19:12:18 blambert Exp $ */
+/* $OpenBSD: nsclpcsio_isa.c,v 1.14 2018/06/04 05:24:11 kevlo Exp $ */
/* $NetBSD: nsclpcsio_isa.c,v 1.5 2002/10/22 16:18:26 drochner Exp $ */
/*
@@ -279,12 +279,11 @@ nsclpcsio_isa_attach(struct device *parent, struct device *self, void *aux)
struct nsclpcsio_softc *sc = (void *)self;
struct isa_attach_args *ia = aux;
struct gpiobus_attach_args gba;
- bus_space_tag_t iot;
int iobase;
int i;
iobase = ia->ipa_io[0].base;
- sc->sc_iot = iot = ia->ia_iot;
+ sc->sc_iot = ia->ia_iot;
if (bus_space_map(ia->ia_iot, iobase, 2, 0, &sc->sc_ioh)) {
printf(": can't map i/o space\n");
return;