]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/intel-hda-test.c
Revert "vl: Fix to create migration object before block backends again"
[mirror_qemu.git] / tests / intel-hda-test.c
index d89b407dcc50e21272a25ef4efaf988362a26ced..b782b2e9444601a915745045588ca8ddfc095d1d 100644 (file)
@@ -7,10 +7,8 @@
  * See the COPYING file in the top-level directory.
  */
 
-#include <glib.h>
-#include <string.h>
-#include "libqtest.h"
 #include "qemu/osdep.h"
+#include "libqtest.h"
 
 #define HDA_ID "hda0"
 #define CODEC_DEVICES " -device hda-output,bus=" HDA_ID ".0" \
@@ -33,13 +31,9 @@ static void ich9_test(void)
 
 int main(int argc, char **argv)
 {
-    int ret;
-
     g_test_init(&argc, &argv, NULL);
     qtest_add_func("/intel-hda/ich6", ich6_test);
     qtest_add_func("/intel-hda/ich9", ich9_test);
 
-    ret = g_test_run();
-
-    return ret;
+    return g_test_run();
 }