From ffaeb1f5bffe67e8dfcbb26c49d8dfc9a220bfea Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 19 Aug 2003 12:25:53 +0000 Subject: cleanup; from form@ --- sys/dev/pci/if_mtd_pci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/dev/pci') 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)) { -- cgit v1.2.3