diff options
| author | Thomas Huth <thuth@redhat.com> | 2016-10-12 17:18:40 +0200 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-10-28 18:17:23 +0300 |
| commit | f96fe6b5c27b9a66dba71044af0716f3d3e5601f (patch) | |
| tree | ef407a40b4ee9ba73575c683a92422e407ff1e33 /hw/usb/dev-smartcard-reader.c | |
| parent | 0a04e11f32cb51d3210007d902e170cc164bb813 (diff) | |
| download | focaccia-qemu-f96fe6b5c27b9a66dba71044af0716f3d3e5601f.tar.gz focaccia-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/dev-smartcard-reader.c')
0 files changed, 0 insertions, 0 deletions