mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
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 e3538c37ee
("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>
This commit is contained in:
parent
de4ed391ae
commit
34b6a3a91f
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue