summaryrefslogtreecommitdiffstats
path: root/hw/usb/ccid-card-emulated.c
diff options
context:
space:
mode:
authorThomas Huth2016-10-12 17:18:40 +0200
committerMichael Tokarev2016-10-28 17:17:23 +0200
commitf96fe6b5c27b9a66dba71044af0716f3d3e5601f (patch)
treeef407a40b4ee9ba73575c683a92422e407ff1e33 /hw/usb/ccid-card-emulated.c
parenttarget-lm32: rewrite gen_compare() (diff)
downloadqemu-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