OSDN Git Service

serial: xuartps: remove unnecessary register write
authorHelmut Grohne <h.grohne@intenta.de>
Mon, 4 Jun 2018 10:22:19 +0000 (12:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:23:44 +0000 (21:23 +0900)
commit34b6a3a91f87851bc0ea9e6776266f23d8acf388
treeaa1b39953149548d4e087460e19b763d98263aad
parentde4ed391ae98fa378b563fe7baf04dfa525ab7fe
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>
drivers/tty/serial/xilinx_uartps.c