summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-19 12:25:53 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-19 12:25:53 +0000
commitffaeb1f5bffe67e8dfcbb26c49d8dfc9a220bfea (patch)
treed13886be302465e022e9e340c544fa35b8193e7d
parent0445e3c479f548924442305d7ace93bfbe57222f (diff)
cleanup; from form@
-rw-r--r--sys/dev/pci/if_mtd_pci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_mtd_pci.c b/sys/dev/pci/if_mtd_pci.c
index 03f3eca9cb8..be8e0eb147e 100644
--- a/sys/dev/pci/if_mtd_pci.c
+++ b/sys/dev/pci/if_mtd_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mtd_pci.c,v 1.4 2003/08/19 11:57:07 mickey Exp $ */
+/* $OpenBSD: if_mtd_pci.c,v 1.5 2003/08/19 12:25:52 mickey Exp $ */
/*
* Copyright (c) 2003 Oleg Safiullin
@@ -79,8 +79,6 @@ mtd_pci_attach(struct device *parent, struct device *self, void *aux)
const char *intrstr = NULL;
bus_size_t iosize;
- command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
-
#ifndef MTD_USE_IO
if (pci_mapreg_map(pa, MTD_PCI_LOMEM, PCI_MAPREG_TYPE_MEM, 0,
&sc->bus_tag, &sc->bus_handle, NULL, &iosize, 0)) {