omap_serial: Removing superfluous check on no interrupt pending.
authorMartin Townsend <mtownsend1973@gmail.com>
Fri, 20 Oct 2017 21:17:52 +0000 (22:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Oct 2017 09:22:58 +0000 (11:22 +0200)
commite60f9fd03b8b5323a8569abc23c62396e0dfa9ad
tree92eaf9211f552b4c90678a6e65b2de64fdc9ce9f
parente361d1f85855ded967bd4803e8293445a6ce301a
omap_serial: Removing superfluous check on no interrupt pending.

The do .. while loop checks for interrupt pending at the
start of the loop and exits if there is none, it then
checks again for this condition at the end of the loop.

Signed-off-by: Martin Townsend <mtownsend1973@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c