diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-02-23 14:14:51 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-28 13:46:03 +0100 |
commit | 0ef5a6e09b99c39439d09a957bd40dd3154b51ba (patch) | |
tree | 99bf245b949c7dc3121076bfb3cf91f78512c9d5 /drivers/tty | |
parent | 45ca673e81df80f24a575e0a9a4e33c1f865ad08 (diff) | |
download | linux-0ef5a6e09b99c39439d09a957bd40dd3154b51ba.tar.gz linux-0ef5a6e09b99c39439d09a957bd40dd3154b51ba.tar.bz2 linux-0ef5a6e09b99c39439d09a957bd40dd3154b51ba.zip |
serial: mvebu-uart: remove duplicated bit-wise or of STAT_FRM_ERR
Bit pattern STAT_FRM_ERR is being bit-wise or'd twice; remove the
redundant 2nd STAT_FRM_ERR
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/mvebu-uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index a100e98259d7..a4176afb9404 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -65,7 +65,7 @@ #define STAT_FRM_ERR BIT(2) #define STAT_PAR_ERR BIT(1) #define STAT_OVR_ERR BIT(0) -#define STAT_BRK_ERR (STAT_BRK_DET | STAT_FRM_ERR | STAT_FRM_ERR\ +#define STAT_BRK_ERR (STAT_BRK_DET | STAT_FRM_ERR \ | STAT_PAR_ERR | STAT_OVR_ERR) #define UART_BRDV 0x10 |