diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-10-17 17:11:08 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-10-18 13:34:59 -0500 |
commit | 6eaa83ec229b1e99130456c4f6658430d509c76c (patch) | |
tree | f439d0baf055705be3232438260010cc46a731cf /arch/s390/pci | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) | |
download | lwn-6eaa83ec229b1e99130456c4f6658430d509c76c.tar.gz lwn-6eaa83ec229b1e99130456c4f6658430d509c76c.zip |
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>
Diffstat (limited to 'arch/s390/pci')
-rw-r--r-- | arch/s390/pci/pci_bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/pci/pci_bus.c b/arch/s390/pci/pci_bus.c index daa5d7450c7d..5630af5deb8b 100644 --- a/arch/s390/pci/pci_bus.c +++ b/arch/s390/pci/pci_bus.c @@ -53,7 +53,7 @@ static int zpci_bus_prepare_device(struct zpci_dev *zdev) zpci_setup_bus_resources(zdev); for (i = 0; i < PCI_STD_NUM_BARS; i++) { if (zdev->bars[i].res) - pci_bus_add_resource(zdev->zbus->bus, zdev->bars[i].res, 0); + pci_bus_add_resource(zdev->zbus->bus, zdev->bars[i].res); } } |