aboutsummaryrefslogtreecommitdiff
path: root/hw/misc
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2016-10-12 17:18:40 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2016-10-28 18:17:23 +0300
commitf96fe6b5c27b9a66dba71044af0716f3d3e5601f (patch)
treeef407a40b4ee9ba73575c683a92422e407ff1e33 /hw/misc
parent0a04e11f32cb51d3210007d902e170cc164bb813 (diff)
hw/block/nvme: Simplify if-statements a little bit
The condition '!A || (A && B)' is equivalent to '!A || B'. Buglink: https://bugs.launchpad.net/qemu/+bug/1464611 Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions