]> www.infradead.org Git - users/dwmw2/linux.git/commit
PCI: Remove unused PCI_SUBTRACTIVE_DECODE
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 17 Oct 2024 14:11:08 +0000 (17:11 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 18 Oct 2024 18:34:59 +0000 (13:34 -0500)
commit6eaa83ec229b1e99130456c4f6658430d509c76c
treef439d0baf055705be3232438260010cc46a731cf
parent9852d85ec9d492ebef56dc5f229416c925758edc
PCI: Remove unused PCI_SUBTRACTIVE_DECODE

2fe2abf896c1 ("PCI: augment bus resource table with a list") added
PCI_SUBTRACTIVE_DECODE which is put into the struct pci_bus_resource flags
field but is never read. There seems to never have been users for it.

Remove both PCI_SUBTRACTIVE_DECODE and the flags field from the struct
pci_bus_resource.

Link: https://lore.kernel.org/r/20241017141111.44612-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
arch/s390/pci/pci_bus.c
arch/x86/pci/fixup.c
drivers/pci/bus.c
drivers/pci/probe.c
include/linux/pci.h