summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kelley <mhklinux@outlook.com>2026-01-11 20:00:34 +0300
committerWei Liu <wei.liu@kernel.org>2026-02-04 08:59:51 +0300
commit90fb0a25f6543d2403dcd82e6f0bece92fa7f54c (patch)
treea9a35d1de043ebeb22e2559c67906661eab0275d
parent18f7fcd5e69a04df57b563360b88be72471d6b62 (diff)
downloadlinux-90fb0a25f6543d2403dcd82e6f0bece92fa7f54c.tar.xz
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 <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>
-rw-r--r--drivers/pci/controller/pci-hyperv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c
index 1e237d3538f9..7fcba05cec30 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;