tty: serial: msm: Fix 'else is not generally useful after a break or return' warning
fixed below checkpatch.pl warning: WARNING: else is not generally useful after a break or return Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6a7cfe4611
commit
6f47abcb86
1 changed files with 2 additions and 2 deletions
|
@ -700,8 +700,8 @@ static int msm_poll_get_char_single(struct uart_port *port)
|
|||
|
||||
if (!(msm_read(port, UART_SR) & UART_SR_RX_READY))
|
||||
return NO_POLL_CHAR;
|
||||
else
|
||||
return msm_read(port, rf_reg) & 0xff;
|
||||
|
||||
return msm_read(port, rf_reg) & 0xff;
|
||||
}
|
||||
|
||||
static int msm_poll_get_char_dm_1p3(struct uart_port *port)
|
||||
|
|
Loading…
Reference in a new issue