diff options
author | Thomas Huth <thuth@redhat.com> | 2016-10-12 17:33:44 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-10-28 18:17:23 +0300 |
commit | 5f333d79a4337b390fa4103e270d2bdaf243aad6 (patch) | |
tree | 6d7cdb75a4afb6c4e31910213f21a0e04ca93785 /hw/usb/dev-smartcard-reader.c | |
parent | c551cd52cc4424b98548132d6a49baddeae6ee80 (diff) | |
download | qemu-5f333d79a4337b390fa4103e270d2bdaf243aad6.zip qemu-5f333d79a4337b390fa4103e270d2bdaf243aad6.tar.gz qemu-5f333d79a4337b390fa4103e270d2bdaf243aad6.tar.bz2 |
hw/tpm/tpm_passthrough: 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>
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