From: Michael Kelley Date: Sun, 11 Jan 2026 17:00:34 +0000 (-0800) Subject: PCI: hv: Remove unused field pci_bus in struct hv_pcibus_device X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90fb0a25f6543d2403dcd82e6f0bece92fa7f54c;p=thirdparty%2Flinux.git PCI: hv: Remove unused field pci_bus in struct hv_pcibus_device 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 Reviewed-by: Easwar Hariharan Reviewed-by: Prasanna Kumar T S M Reviewed-by: Srivatsa S. Bhat (Microsoft) Signed-off-by: Wei Liu --- diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index 1e237d3538f9c..7fcba05cec305 100644 --- a/drivers/pci/controller/pci-hyperv.c +++ b/drivers/pci/controller/pci-hyperv.c @@ -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;