]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: imx: remove the redundant code
authorHuang Shijie <b32955@freescale.com>
Wed, 21 May 2014 01:09:47 +0000 (09:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 19:40:43 +0000 (12:40 -0700)
commit8eccd0cd2106fbe0acc6bec3701e69e171353f25
tree69e88314befcf4ad5ff6821318a7883d9e346ce6
parent772f89910a8a1d1dd9dade2eec3125f283a9db63
serial: imx: remove the redundant code

In the imx_startup(), we will reset the uart port which will reset all
the FIFOs, including the URXD.

So the code to clear the RX FIFO is redundant. Just remove it.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c