[U-Boot] [PATCH 2/5] pci: xilinx: Remove unused field 'hose' from struct xilinx_pcie

Tuomas Tynkkynen tuomas.tynkkynen at iki.fi
Fri Sep 1 14:25:59 UTC 2017


This field has never been used as the driver has been DM-based since the
beginning. Drop it.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>
---
 drivers/pci/pcie_xilinx.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pci/pcie_xilinx.c b/drivers/pci/pcie_xilinx.c
index e31ba8bd51..4ba32df516 100644
--- a/drivers/pci/pcie_xilinx.c
+++ b/drivers/pci/pcie_xilinx.c
@@ -14,11 +14,9 @@
 
 /**
  * struct xilinx_pcie - Xilinx PCIe controller state
- * @hose: The parent classes PCI controller state
  * @cfg_base: The base address of memory mapped configuration space
  */
 struct xilinx_pcie {
-	struct pci_controller hose;
 	void *cfg_base;
 };
 
-- 
2.13.0



More information about the U-Boot mailing list