[+cc Anders]
On Tue, Jul 24, 2018 at 4:39 AM Arnd Bergmann wrote:
>
> The newly introduced function produces a warning without CONFIG_PCI_QUIRKS:
>
> drivers/pci/probe.c: In function 'pci_bus_read_dev_vendor_id':
> drivers/pci/probe.c:2221:18: error: unused variable 'bridge'
> [-Werror=unused-va
The newly introduced function produces a warning without CONFIG_PCI_QUIRKS:
drivers/pci/probe.c: In function 'pci_bus_read_dev_vendor_id':
drivers/pci/probe.c:2221:18: error: unused variable 'bridge'
[-Werror=unused-variable]
Move the variable declaration into that #ifdef to avoid the warning.
2 matches
Mail list logo