diff options
author | Helmut Grohne <h.grohne@intenta.de> | 2018-06-04 12:22:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-28 21:23:44 +0900 |
commit | 34b6a3a91f87851bc0ea9e6776266f23d8acf388 (patch) | |
tree | aa1b39953149548d4e087460e19b763d98263aad /drivers | |
parent | de4ed391ae98fa378b563fe7baf04dfa525ab7fe (diff) | |
download | lwn-34b6a3a91f87851bc0ea9e6776266f23d8acf388.tar.gz lwn-34b6a3a91f87851bc0ea9e6776266f23d8acf388.zip |
serial: xuartps: remove unnecessary register write
This writel writes the exact same value as the previous writel and is
thus unnecessary. It accidentally became unnecessary in e3538c37ee38
("tty: xuartps: Beautify read-modify writes"), but the new behaviour is
now expected.
Link: https://www.spinics.net/lists/linux-serial/msg23168.html
Signed-off-by: Helmut Grohne <h.grohne@intenta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tty/serial/xilinx_uartps.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 5f040cee595c..a48f19b1b88f 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1203,8 +1203,6 @@ static void cdns_uart_console_write(struct console *co, const char *s, CDNS_UART_SR_TXEMPTY) cpu_relax(); - writel(ctrl, port->membase + CDNS_UART_CR); - /* restore interrupt state */ writel(imr, port->membase + CDNS_UART_IER); |