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