Re: [PATCH 1/3] PCI: Remove unused PCI_SUBTRACTIVE_DECODE
From: Jonathan Cameron
Date: Fri Oct 18 2024 - 11:58:59 EST
On Thu, 17 Oct 2024 17:11:08 +0300
Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> wrote:
> The commit 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.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
Nice cleanup.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> ---
> arch/s390/pci/pci_bus.c | 2 +-
> arch/x86/pci/fixup.c | 2 +-
> drivers/pci/bus.c | 4 +---
> drivers/pci/probe.c | 5 ++---
> include/linux/pci.h | 12 +-----------
> 5 files changed, 6 insertions(+), 19 deletions(-)