summary refs log tree commit diff stats
path: root/tests/libqos/ahci.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-10-06 12:09:56 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-10-06 12:09:56 +0100
commit006d5c741bbfcdbedeb59e14527fe58d45c9c76b (patch)
tree9b7a95c315e702ec6bab2277b8f2a2176d96e8a5 /tests/libqos/ahci.c
parent7fe34ca9c2e99560dc65395d599a6920624b127d (diff)
parentec6b69ca0305ab3a3e0461aecb6f190c59a765df (diff)
downloadfocaccia-qemu-006d5c741bbfcdbedeb59e14527fe58d45c9c76b.tar.gz
focaccia-qemu-006d5c741bbfcdbedeb59e14527fe58d45c9c76b.zip
Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into staging
# gpg: Signature made Mon 05 Oct 2015 17:01:11 BST using RSA key ID AAFC390E
# gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>"

* remotes/jnsnow/tags/ide-pull-request:
  qtest/ide-test: ppc64be correction for ATAPI tests
  MAINTAINERS: Small IDE/FDC touchup
  qtest/ahci: fix redundant assertion

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/libqos/ahci.c')
-rw-r--r--tests/libqos/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libqos/ahci.c b/tests/libqos/ahci.c
index cf66b3e32c..adb2665c6d 100644
--- a/tests/libqos/ahci.c
+++ b/tests/libqos/ahci.c
@@ -742,7 +742,7 @@ AHCICommand *ahci_command_create(uint8_t command_name)
     g_assert(!(props->lba28 && props->lba48));
     g_assert(!(props->read && props->write));
     g_assert(!props->size || props->data);
-    g_assert(!props->ncq || (props->ncq && props->lba48));
+    g_assert(!props->ncq || props->lba48);
 
     /* Defaults and book-keeping */
     cmd->props = props;