aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-08-03 15:56:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-04 15:08:30 +0200
commitae8261ed7e6801131a27868c00cdfc19cda37729 (patch)
tree6ff195e609b6e9df1727df803b46fff1fa7671c9 /drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c
parent647f5a00d3060297fcfcd0edb026594b313aefed (diff)
serial: cpm_uart: Deduplicate cpm_line_cr_cmd()
cpm_line_cr_cmd() is identical for CPM1 and CPM2 and is used only in cpm_uart_core.c. Move it there. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Link: https://lore.kernel.org/r/6996e6ff93067dcddebf0d0c86487345149e165c.1691068700.git.christophe.leroy@csgroup.eu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c')
-rw-r--r--drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c b/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c
index 56fc527015cb..b5680376ff3c 100644
--- a/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c
+++ b/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c
@@ -36,11 +36,6 @@
/**************************************************************/
-void cpm_line_cr_cmd(struct uart_cpm_port *port, int cmd)
-{
- cpm_command(port->command, cmd);
-}
-
void __iomem *cpm_uart_map_pram(struct uart_cpm_port *port,
struct device_node *np)
{