Commit 34eefb59 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Greg Kroah-Hartman

serial: 8250_dw: remove redundant 'else' keyword

When the main branch contains return statement the 'else' keyword is not
needed. Remove it here.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 93d7bbaa
...@@ -207,9 +207,10 @@ static int dw8250_handle_irq(struct uart_port *p) ...@@ -207,9 +207,10 @@ static int dw8250_handle_irq(struct uart_port *p)
struct dw8250_data *d = p->private_data; struct dw8250_data *d = p->private_data;
unsigned int iir = p->serial_in(p, UART_IIR); unsigned int iir = p->serial_in(p, UART_IIR);
if (serial8250_handle_irq(p, iir)) { if (serial8250_handle_irq(p, iir))
return 1; return 1;
} else if ((iir & UART_IIR_BUSY) == UART_IIR_BUSY) {
if ((iir & UART_IIR_BUSY) == UART_IIR_BUSY) {
/* Clear the USR */ /* Clear the USR */
(void)p->serial_in(p, d->usr_reg); (void)p->serial_in(p, d->usr_reg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment