The bus number is unsigned, it cannot be less than zero.
Found by: FlexeLint
This commit is contained in:
parent
2c5e1d1e6f
commit
b13866404a
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user