aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/tty/serial/8250/8250_pci.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-09-09 21:51:03 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-16 13:14:50 +0200
commit57cee071311800c59bb8735f24d83c95701dc04f (patch)
treed4c5a8d400d9979d543a42c2502746187c955894 /drivers/tty/serial/8250/8250_pci.c
parentpty: do tty_flip_buffer_push without port->lock in pty_write (diff)
downloadwireguard-linux-57cee071311800c59bb8735f24d83c95701dc04f.tar.xz
wireguard-linux-57cee071311800c59bb8735f24d83c95701dc04f.zip
serial: 8250_pci: Remove unused function get_pci_irq()
It is not used since commit 8428413b1d14 ("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>
Diffstat (limited to 'drivers/tty/serial/8250/8250_pci.c')
-rw-r--r--drivers/tty/serial/8250/8250_pci.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c
index 85810b8b9d20..824c44ec25a8 100644
--- a/drivers/tty/serial/8250/8250_pci.c
+++ b/drivers/tty/serial/8250/8250_pci.c
@@ -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