summaryrefslogtreecommitdiff
path: root/sys/dev/pci/gtp.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-04-20 20:30:30 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-04-20 20:30:30 +0000
commite1d297c29cadf0be3ed3775c0cfbcd97d01d7b9a (patch)
tree1f5775b74689501620c6b5f53338b01ef6cfc234 /sys/dev/pci/gtp.c
parentc6a06abcb61bbc239e1cfef78b711075b49da926 (diff)
Make these compile again.
Diffstat (limited to 'sys/dev/pci/gtp.c')
-rw-r--r--sys/dev/pci/gtp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/gtp.c b/sys/dev/pci/gtp.c
index f09ef0d269c..d25cecf78bd 100644
--- a/sys/dev/pci/gtp.c
+++ b/sys/dev/pci/gtp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gtp.c,v 1.2 2005/08/09 04:10:11 mickey Exp $ */
+/* $OpenBSD: gtp.c,v 1.3 2006/04/20 20:30:29 miod Exp $ */
/*
* Copyright (c) 2002 Vladimir Popov <jumbo@narod.ru>
@@ -134,7 +134,6 @@ gtp_attach(struct device *parent, struct device *self, void *aux)
struct gtp_softc *sc = (struct gtp_softc *) self;
struct pci_attach_args *pa = aux;
struct cfdata *cf = sc->sc_dev.dv_cfdata;
- pci_chipset_tag_t pc = pa->pa_pc;
if (pci_mapreg_map(pa, 0x10, PCI_MAPREG_TYPE_IO, 0, &sc->tea.iot,
&sc->tea.ioh, NULL, NULL, 0)) {