提交 175003d7 编写于 作者: A Andy Shevchenko 提交者: Greg Kroah-Hartman

serial: 8250_pci: Remove empty stub pci_quatech_exit()

The ->exit() callback is checked for presence anyway,
no need to have an empty stub.
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20211026133452.61657-2-andriy.shevchenko@linux.intel.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 42902427
...@@ -1298,10 +1298,6 @@ static int pci_quatech_setup(struct serial_private *priv, ...@@ -1298,10 +1298,6 @@ static int pci_quatech_setup(struct serial_private *priv,
return pci_default_setup(priv, board, port, idx); return pci_default_setup(priv, board, port, idx);
} }
static void pci_quatech_exit(struct pci_dev *dev)
{
}
static int pci_default_setup(struct serial_private *priv, static int pci_default_setup(struct serial_private *priv,
const struct pciserial_board *board, const struct pciserial_board *board,
struct uart_8250_port *port, int idx) struct uart_8250_port *port, int idx)
...@@ -2176,7 +2172,6 @@ static struct pci_serial_quirk pci_serial_quirks[] = { ...@@ -2176,7 +2172,6 @@ static struct pci_serial_quirk pci_serial_quirks[] = {
.subdevice = PCI_ANY_ID, .subdevice = PCI_ANY_ID,
.init = pci_quatech_init, .init = pci_quatech_init,
.setup = pci_quatech_setup, .setup = pci_quatech_setup,
.exit = pci_quatech_exit,
}, },
/* /*
* Panacom * Panacom
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册