]> git.proxmox.com Git - mirror_qemu.git/commit
qtest/ahci: fix redundant assertion
authorJohn Snow <jsnow@redhat.com>
Mon, 5 Oct 2015 16:00:55 +0000 (12:00 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 5 Oct 2015 16:00:55 +0000 (12:00 -0400)
commit3d937150dce20cb95cbaae99b6fd48dca4261f32
treec36dc547f8c832acf304213a598b12930eb760ae
parentc0b520dfb8890294a9f8879f4759172900585995
qtest/ahci: fix redundant assertion

Fixes https://bugs.launchpad.net/qemu/+bug/1497711

(!ncq || (ncq && lba48)) is the same as
(!ncq || lba48).

The intention is simply: "If a command is NCQ,
it must also be LBA48."

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1442868929-17777-1-git-send-email-jsnow@redhat.com
tests/libqos/ahci.c