aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/virtio-ccw-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/virtio-ccw-test.c')
-rw-r--r--tests/qtest/virtio-ccw-test.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/qtest/virtio-ccw-test.c b/tests/qtest/virtio-ccw-test.c
index d05236407b..2de77bb6fe 100644
--- a/tests/qtest/virtio-ccw-test.c
+++ b/tests/qtest/virtio-ccw-test.c
@@ -95,8 +95,6 @@ static void virtio_scsi_hotplug(void)
int main(int argc, char **argv)
{
- int ret;
-
g_test_init(&argc, &argv, NULL);
qtest_add_func("/virtio/balloon/nop", virtio_balloon_nop);
qtest_add_func("/virtio/console/nop", virtconsole_nop);
@@ -109,7 +107,5 @@ int main(int argc, char **argv)
qtest_add_func("/virtio/scsi/nop", virtio_scsi_nop);
qtest_add_func("/virtio/scsi/hotplug", virtio_scsi_hotplug);
- ret = g_test_run();
-
- return ret;
+ return g_test_run();
}