]> Git Repo - qemu.git/commit
hw/block/nvme: Simplify if-statements a little bit
authorThomas Huth <[email protected]>
Wed, 12 Oct 2016 15:18:40 +0000 (17:18 +0200)
committerMichael Tokarev <[email protected]>
Fri, 28 Oct 2016 15:17:23 +0000 (18:17 +0300)
commitf96fe6b5c27b9a66dba71044af0716f3d3e5601f
treeef407a40b4ee9ba73575c683a92422e407ff1e33
parent0a04e11f32cb51d3210007d902e170cc164bb813
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 <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
hw/block/nvme.c
This page took 0.025307 seconds and 4 git commands to generate.