Re: [PATCH 03/10] ps2: don't deassert irq twice if queue is empty

2021-05-05 Thread Philippe Mathieu-Daudé
On 5/5/21 9:21 PM, Volker Rümelin wrote: > Don't deassert the irq twice if the queue is empty. While the > second deassertion doesn't do any harm, it's unnecessary. > > Signed-off-by: Volker Rümelin > --- > hw/input/ps2.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Reviewed-by: P

[PATCH 03/10] ps2: don't deassert irq twice if queue is empty

2021-05-05 Thread Volker Rümelin
Don't deassert the irq twice if the queue is empty. While the second deassertion doesn't do any harm, it's unnecessary. Signed-off-by: Volker Rümelin --- hw/input/ps2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/input/ps2.c b/hw/input/ps2.c index 55a81a0c51..4aee46