tty: serial: linflexuart: Remove unnecessary '|' operation and add error count
authorLiu Xiang <liuxiang_1999@126.com>
Fri, 30 Oct 2020 13:43:11 +0000 (21:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 16:12:30 +0000 (17:12 +0100)
commit80f510f5fd078379b772f3b745c49e1db949bb43
treec614de957e2f061876dd8157760d0588df968f3f
parentcbd90e746148339ddbf6b980438b0adad990321e
tty: serial: linflexuart: Remove unnecessary '|' operation and add error count

The '|' operation of status in linflex_rxint is unnecessary,
so it can be removed.

Signed-off-by: Liu Xiang <liuxiang_1999@126.com>
Link: https://lore.kernel.org/r/1604065391-3790-1-git-send-email-liuxiang_1999@126.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_linflexuart.c