From 5df0ffc76253f695d8fee104f99bc2e2287c32a1 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 13 Oct 2014 16:23:51 +0000 Subject: [PATCH] class, subclass and progif were never used, so don't bother setting them. --- sys/dev/sdhci/sdhci_pci.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/sdhci/sdhci_pci.c b/sys/dev/sdhci/sdhci_pci.c index af60503ad07..626f1973b75 100644 --- a/sys/dev/sdhci/sdhci_pci.c +++ b/sys/dev/sdhci/sdhci_pci.c @@ -260,16 +260,12 @@ sdhci_pci_attach(device_t dev) struct sdhci_pci_softc *sc = device_get_softc(dev); uint32_t model; uint16_t subvendor; - uint8_t class, subclass, progif; int bar, err, rid, slots, i; sc->dev = dev; model = (uint32_t)pci_get_device(dev) << 16; model |= (uint32_t)pci_get_vendor(dev) & 0x0000ffff; subvendor = pci_get_subvendor(dev); - class = pci_get_class(dev); - subclass = pci_get_subclass(dev); - progif = pci_get_progif(dev); /* Apply chip specific quirks. */ for (i = 0; sdhci_devices[i].model != 0; i++) { if (sdhci_devices[i].model == model &&