Skip to contentSkip to conversation

xtensa: Remove unused early_read_config_byte() et al declarations

PATCH Applied Bjorn Helgaas 2 participants 2 messages Jan 21, 2022 – Jan 22, 2022 Tensilica Xtensa port (xtensa)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xtensa: Remove unused early_read_config_byte() et al declarations

From: Bjorn Helgaas <[email protected]>

early_read_config_byte() and similar are declared but never defined. Remove the unused declarations.

---
 arch/xtensa/include/asm/pci-bridge.h | 9 ---------
 1 file changed, 9 deletions(-)
arch/xtensa/include/asm/pci-bridge.h +0 -9
index 405526912d9a..e320aa5bbedb 100644
@@ -73,13 +73,4 @@ static inline void pcibios_init_resource(struct resource *res,
 	res->child = NULL;
 }
 
-
-/* These are used for config access before all the PCI probing has been done. */
-int early_read_config_byte(struct pci_controller*, int, int, int, u8*);
-int early_read_config_word(struct pci_controller*, int, int, int, u16*);
-int early_read_config_dword(struct pci_controller*, int, int, int, u32*);
-int early_write_config_byte(struct pci_controller*, int, int, int, u8);
-int early_write_config_word(struct pci_controller*, int, int, int, u16);
-int early_write_config_dword(struct pci_controller*, int, int, int, u32);
-
 #endif	/* _XTENSA_PCI_BRIDGE_H */
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 10 lines · Bjorn Helgaas

From: Bjorn Helgaas <[email protected]>

early_read_config_byte() and similar are declared but never defined. Remove the unused declarations.

---
 arch/xtensa/include/asm/pci-bridge.h | 9 ---------
 1 file changed, 9 deletions(-)

Applied to my xtensa tree.

Signature · 2 lines
Thanks.
-- Max