diff options
author | Lino Sanfilippo <LinoSanfilippo@gmx.de> | 2022-04-10 12:46:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-15 11:30:22 +0200 |
commit | 915162460152571d3f09009af080b5dd4a963de1 (patch) | |
tree | 64d39c31105b96741af448d49bf2074946943475 /drivers/tty/serial/fsl_lpuart.c | |
parent | serial: max310: remove redundant memset in rs485_config (diff) | |
download | linux-915162460152571d3f09009af080b5dd4a963de1.tar.xz linux-915162460152571d3f09009af080b5dd4a963de1.zip |
serial: imx: remove redundant assignment in rs485_config
In uart_set_rs485_config() the serial core already assigns the passed
serial_rs485 struct to the uart port.
So remove the assignment in the drivers rs485_config() function to avoid
reduncancy.
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Link: https://lore.kernel.org/r/20220410104642.32195-8-LinoSanfilippo@gmx.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/fsl_lpuart.c')
0 files changed, 0 insertions, 0 deletions