From 1e22f4e40db259ccc6972591b43db276eba12471 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 20 Oct 2002 17:21:43 +0000 Subject: "id" is never going to be -1 when it is unsigned. Spotted by: FlexeLint --- sys/amd64/pci/pci_bus.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/amd64/pci/pci_bus.c') diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c index c532a28..8ce2b49 100644 --- a/sys/amd64/pci/pci_bus.c +++ b/sys/amd64/pci/pci_bus.c @@ -344,8 +344,6 @@ nexus_pcib_identify(driver_t *driver, device_t parent) id = nexus_pcib_read_config(0, bus, slot, func, PCIR_DEVVENDOR, 4); - if (id == -1) - continue; class = nexus_pcib_read_config(0, bus, slot, func, PCIR_CLASS, 1); subclass = nexus_pcib_read_config(0, bus, slot, func, -- cgit v1.1