]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/display-vga-test.c
target-arm: Add trace events for the generic timers
[mirror_qemu.git] / tests / display-vga-test.c
index 06b244ed9a196cd3f57da5d73dd3205701824c26..91460215ccf192866e5b668a565490ee75897919 100644 (file)
@@ -50,8 +50,6 @@ static void pci_virtio_vga(void)
 
 int main(int argc, char **argv)
 {
-    int ret;
-
     g_test_init(&argc, &argv, NULL);
 
     qtest_add_func("/display/pci/cirrus", pci_cirrus);
@@ -62,7 +60,5 @@ int main(int argc, char **argv)
 #ifdef CONFIG_VIRTIO_VGA
     qtest_add_func("/display/pci/virtio-vga", pci_virtio_vga);
 #endif
-    ret = g_test_run();
-
-    return ret;
+    return g_test_run();
 }