mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 14:17:43 +00:00
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>
This commit is contained in:
parent
e361d1f858
commit
e60f9fd03b
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ static irqreturn_t serial_omap_irq(int irq, void *dev_id)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
} while (!(iir & UART_IIR_NO_INT) && max_count--);
|
||||
} while (max_count--);
|
||||
|
||||
spin_unlock(&up->port.lock);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue