MIPS: ath79: remove ar724x_pci_add_data function
The variables set by this function are not used anymore. Remove the function and the relevant variables as well. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3501/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:

committed by
Ralf Baechle

parent
d22ce25f87
commit
52c28be371
@@ -18,8 +18,6 @@
|
||||
static int (*ath79_pci_plat_dev_init)(struct pci_dev *dev);
|
||||
static const struct ath79_pci_irq *ath79_pci_irq_map __initdata;
|
||||
static unsigned ath79_pci_nr_irqs __initdata;
|
||||
static struct ar724x_pci_data *pci_data;
|
||||
static int pci_data_size;
|
||||
|
||||
static const struct ath79_pci_irq ar71xx_pci_irq_map[] __initconst = {
|
||||
{
|
||||
@@ -45,12 +43,6 @@ static const struct ath79_pci_irq ar724x_pci_irq_map[] __initconst = {
|
||||
}
|
||||
};
|
||||
|
||||
void ar724x_pci_add_data(struct ar724x_pci_data *data, int size)
|
||||
{
|
||||
pci_data = data;
|
||||
pci_data_size = size;
|
||||
}
|
||||
|
||||
int __init pcibios_map_irq(const struct pci_dev *dev, uint8_t slot, uint8_t pin)
|
||||
{
|
||||
int irq = -1;
|
||||
|
Reference in New Issue
Block a user