]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
PCI: hv: Remove unused field pci_bus in struct hv_pcibus_device
authorMichael Kelley <mhklinux@outlook.com>
Sun, 11 Jan 2026 17:00:34 +0000 (09:00 -0800)
committerWei Liu <wei.liu@kernel.org>
Wed, 4 Feb 2026 05:59:51 +0000 (05:59 +0000)
Field pci_bus in struct hv_pcibus_device is unused since
commit 418cb6c8e051 ("PCI: hv: Generify PCI probing"). Remove it.

No functional change.

Signed-off-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Easwar Hariharan <easwar.hariharan@linux.microsoft.com>
Reviewed-by: Prasanna Kumar T S M <ptsm@linux.microsoft.com>
Reviewed-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/pci/controller/pci-hyperv.c

index 1e237d3538f9c40fc697db6370e7354c88a41db1..7fcba05cec305964445b2299576313ca62890ebd 100644 (file)
@@ -501,7 +501,6 @@ struct hv_pcibus_device {
        struct resource *low_mmio_res;
        struct resource *high_mmio_res;
        struct completion *survey_event;
-       struct pci_bus *pci_bus;
        spinlock_t config_lock; /* Avoid two threads writing index page */
        spinlock_t device_list_lock;    /* Protect lists below */
        void __iomem *cfg_addr;