Fix "set but not used" in the x86 pci driver.

Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Scott Long 2021-12-05 15:09:24 -07:00
parent 5e04571cf3
commit c0ea0b4989

View File

@ -510,11 +510,9 @@ legacy_pcib_attach(device_t dev)
{
#ifdef __HAVE_PIR
device_t pir;
#endif
int bus;
bus = pcib_get_bus(dev);
#ifdef __HAVE_PIR
/*
* Look for a PCI BIOS interrupt routing table as that will be
* our method of routing interrupts if we have one.