mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
serial: 8250_pci: Remove unused function get_pci_irq()
It is not used since commit 8428413b1d
("serial: 8250_pci: Implement MSI(-X) support")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200909135103.17768-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
71a174b39f
commit
57cee07131
1 changed files with 0 additions and 9 deletions
|
@ -2795,15 +2795,6 @@ static struct pci_serial_quirk *find_quirk(struct pci_dev *dev)
|
|||
return quirk;
|
||||
}
|
||||
|
||||
static inline int get_pci_irq(struct pci_dev *dev,
|
||||
const struct pciserial_board *board)
|
||||
{
|
||||
if (board->flags & FL_NOIRQ)
|
||||
return 0;
|
||||
else
|
||||
return dev->irq;
|
||||
}
|
||||
|
||||
/*
|
||||
* This is the configuration table for all of the PCI serial boards
|
||||
* which we support. It is directly indexed by the pci_board_num_t enum
|
||||
|
|
Loading…
Reference in a new issue