mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
The bus number is unsigned, it cannot be less than zero.
Found by: FlexeLint
This commit is contained in:
parent
2c5e1d1e6f
commit
b13866404a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104279
@ -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…
Reference in New Issue
Block a user