diff options
author | Thomas Huth | 2016-10-12 17:18:40 +0200 |
---|---|---|
committer | Michael Tokarev | 2016-10-28 17:17:23 +0200 |
commit | f96fe6b5c27b9a66dba71044af0716f3d3e5601f (patch) | |
tree | ef407a40b4ee9ba73575c683a92422e407ff1e33 /hw/usb/ccid-card-emulated.c | |
parent | target-lm32: rewrite gen_compare() (diff) | |
download | qemu-f96fe6b5c27b9a66dba71044af0716f3d3e5601f.tar.gz qemu-f96fe6b5c27b9a66dba71044af0716f3d3e5601f.tar.xz qemu-f96fe6b5c27b9a66dba71044af0716f3d3e5601f.zip |
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/usb/ccid-card-emulated.c')
0 files changed, 0 insertions, 0 deletions