hw/pl061: Remove pointless comparison of array to null
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 9 Nov 2011 20:04:54 +0000 (20:04 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 11 Nov 2011 18:49:53 +0000 (12:49 -0600)
commit8996d57cc171a2ffd6b5eebc64d83cf0ec4f3600
tree818f59109f82d0290dda40b4e6224bab402694ed
parente62b62bb6e644fb8d354a2b4ea593c263556af83
hw/pl061: Remove pointless comparison of array to null

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 <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pl061.c