# \[PATCH -next\] powerpc/powernv/pci: Remove obsoleted declaration for pnv\_pci\_init\_ioda\_hub

- From: Gaosheng Cui \<hidden\>
- Date: 2024-08-22 13:57:54 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2024/08/9534484
- Thread: https://ratatoskr.run/linuxppc-dev/2024/08/9534484/t.md

```text
The pnv_pci_init_ioda_hub() have been removed since
commit 5ac129cdb50b ("powerpc/powernv/pci: Remove ioda1 support"),
and now it is useless, so remove it.

Signed-off-by: Gaosheng Cui <redacted>
---
 arch/powerpc/platforms/powernv/pci.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/platforms/powernv/pci.h b/arch/powerpc/platforms/powernv/pci.h
index 957f2b47a3c0..93fba1f8661f 100644
--- a/arch/powerpc/platforms/powernv/pci.h
+++ b/arch/powerpc/platforms/powernv/pci.h
@@ -274,7 +274,6 @@ int pnv_pci_cfg_write(struct pci_dn *pdn,
 		      int where, int size, u32 val);
 extern struct iommu_table *pnv_pci_table_alloc(int nid);
 
-extern void pnv_pci_init_ioda_hub(struct device_node *np);
 extern void pnv_pci_init_ioda2_phb(struct device_node *np);
 extern void pnv_pci_init_npu2_opencapi_phb(struct device_node *np);
 extern void pnv_pci_reset_secondary_bus(struct pci_dev *dev);
-- 
2.25.1


```
