Re: [Qemu-devel] [PATCH] hw/pl061: Remove pointless comparison of array to null

2011-11-11 Thread Anthony Liguori
On 11/09/2011 02:04 PM, Peter Maydell wrote: Remove a pointless comparison of an array to null. (There is no need to check whether s->out[i] is non-null as qemu_set_irq will do that for us.) Spotted by Coverity (see bug 887883). Signed-off-by: Peter Maydell Applied. Thanks. Regards, Anthony

[Qemu-devel] [PATCH] hw/pl061: Remove pointless comparison of array to null

2011-11-09 Thread Peter Maydell
Remove a pointless comparison of an array to null. (There is no need to check whether s->out[i] is non-null as qemu_set_irq will do that for us.) Spotted by Coverity (see bug 887883). Signed-off-by: Peter Maydell --- hw/pl061.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --