aboutsummaryrefslogtreecommitdiff
path: root/tests/ahci-test.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-08-20 21:23:56 +0200
committerThomas Huth <thuth@redhat.com>2019-09-05 13:18:52 +0200
commit731a29fabacb6a8bcbd5ae7ded1df467fdcf15a7 (patch)
tree311cca545f78533e44e3ff4d1af01db4a4387fd7 /tests/ahci-test.c
parentb57ebd57b43db5456b850a81a2ef46b03b8716ca (diff)
downloadqemu-731a29fabacb6a8bcbd5ae7ded1df467fdcf15a7.zip
qemu-731a29fabacb6a8bcbd5ae7ded1df467fdcf15a7.tar.gz
qemu-731a29fabacb6a8bcbd5ae7ded1df467fdcf15a7.tar.bz2
tests: Remove unnecessary global_qtest references
We are going to remove global_qtest from the main libqtest library soon, so tests that do not urgently need global_qtest anymore should be cleaned from the unnecessary references. Message-Id: <20190904130047.25808-5-thuth@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/ahci-test.c')
-rw-r--r--tests/ahci-test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ahci-test.c b/tests/ahci-test.c
index 086811e..c8d42ce 100644
--- a/tests/ahci-test.c
+++ b/tests/ahci-test.c
@@ -200,7 +200,6 @@ static void ahci_shutdown(AHCIQState *ahci)
{
QOSState *qs = ahci->parent;
- assert(!global_qtest);
ahci_clean_mem(ahci);
free_ahci_device(ahci->dev);
g_free(ahci);