* [PATCH v1] xtensa: Remove unused early_read_config_byte() et al declarations
@ 2022-01-21 21:02 Bjorn Helgaas
2022-01-22 2:02 ` Max Filippov
0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2022-01-21 21:02 UTC (permalink / raw)
To: Chris Zankel, Max Filippov
Cc: linux-xtensa, linux-pci, linux-kernel, Bjorn Helgaas
From: Bjorn Helgaas <bhelgaas@google.com>
early_read_config_byte() and similar are declared but never defined.
Remove the unused declarations.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
arch/xtensa/include/asm/pci-bridge.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/xtensa/include/asm/pci-bridge.h b/arch/xtensa/include/asm/pci-bridge.h
index 405526912d9a..e320aa5bbedb 100644
--- a/arch/xtensa/include/asm/pci-bridge.h
+++ b/arch/xtensa/include/asm/pci-bridge.h
@@ -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 */
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v1] xtensa: Remove unused early_read_config_byte() et al declarations
2022-01-21 21:02 [PATCH v1] xtensa: Remove unused early_read_config_byte() et al declarations Bjorn Helgaas
@ 2022-01-22 2:02 ` Max Filippov
0 siblings, 0 replies; 2+ messages in thread
From: Max Filippov @ 2022-01-22 2:02 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Chris Zankel, open list:TENSILICA XTENSA PORT (xtensa),
linux-pci, LKML, Bjorn Helgaas
On Fri, Jan 21, 2022 at 1:03 PM Bjorn Helgaas <helgaas@kernel.org> wrote:
>
> From: Bjorn Helgaas <bhelgaas@google.com>
>
> early_read_config_byte() and similar are declared but never defined.
> Remove the unused declarations.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
> arch/xtensa/include/asm/pci-bridge.h | 9 ---------
> 1 file changed, 9 deletions(-)
Applied to my xtensa tree.
--
Thanks.
-- Max
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-22 2:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21 21:02 [PATCH v1] xtensa: Remove unused early_read_config_byte() et al declarations Bjorn Helgaas
2022-01-22 2:02 ` Max Filippov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome