提交 e60f9fd0 编写于 作者: M Martin Townsend 提交者: Greg Kroah-Hartman

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: NMartin Townsend <mtownsend1973@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 e361d1f8
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册