The bus number is unsigned, it cannot be less than zero.

Found by:	FlexeLint
This commit is contained in:
Poul-Henning Kamp 2002-10-01 10:18:22 +00:00
parent 2c5e1d1e6f
commit b13866404a

View File

@ -815,9 +815,6 @@ static int
pci_probe(device_t dev)
{
if (pcib_get_bus(dev) < 0)
return (ENXIO);
device_set_desc(dev, "PCI bus");
/* Allow other subclasses to override this driver. */