From: Ilpo Järvinen Date: Mon, 6 Jun 2022 10:04:30 +0000 (+0300) Subject: serial: 8250_exar: Remove serial_rs485 assignment X-Git-Tag: v6.0-rc1~64^2~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e25ed4a8857f8bf6d4f51bea0ff6c6a80adbb7fe;p=thirdparty%2Flinux.git serial: 8250_exar: Remove serial_rs485 assignment Serial core handles serial_rs485 assignment. Signed-off-by: Ilpo Järvinen Link: https://lore.kernel.org/r/20220606100433.13793-34-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c index 11916f603a3d2..528779b400495 100644 --- a/drivers/tty/serial/8250/8250_exar.c +++ b/drivers/tty/serial/8250/8250_exar.c @@ -427,8 +427,6 @@ static int generic_rs485_config(struct uart_port *port, if (is_rs485) writeb(UART_EXAR_RS485_DLY(4), p + UART_MSR); - port->rs485 = *rs485; - return 0; }