projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71a174b
)
serial: 8250_pci: Remove unused function get_pci_irq()
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 9 Sep 2020 13:51:03 +0000
(21:51 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 16 Sep 2020 11:14:50 +0000
(13:14 +0200)
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>
drivers/tty/serial/8250/8250_pci.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/8250/8250_pci.c
b/drivers/tty/serial/8250/8250_pci.c
index 85810b8b9d2005180490fbab85600ee8ab5a535e..824c44ec25a8ef47dcfe0382e421b8072f64a095 100644
(file)
--- 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