]> git.baikalelectronics.ru Git - kernel.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)
commit00cb6c8daf2799b753fa95d896a6b47fa327693c
tree69e88314befcf4ad5ff6821318a7883d9e346ce6
parent7206974305ac53b4fbd86c61a2f937aa760a2ddc
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