Skip to content

Commit

Permalink
xtensa: Remove unused early_read_config_byte() et al declarations
Browse files Browse the repository at this point in the history
early_read_config_byte() and similar are declared but never defined.
Remove the unused declarations.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Message-Id: <20220121210258.1152803-1-helgaas@kernel.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
  • Loading branch information
Bjorn Helgaas authored and Max Filippov committed Mar 7, 2022
1 parent 9ddef26 commit 6496f3a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions arch/xtensa/include/asm/pci-bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 6496f3a

Please sign in to comment.