diff options
Diffstat (limited to 'tests/virtio-scsi-test.c')
-rw-r--r-- | tests/virtio-scsi-test.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/virtio-scsi-test.c b/tests/virtio-scsi-test.c index cbe5dcca24..f1489e68a0 100644 --- a/tests/virtio-scsi-test.c +++ b/tests/virtio-scsi-test.c @@ -247,15 +247,11 @@ static void test_unaligned_write_same(void) int main(int argc, char **argv) { - int ret; - g_test_init(&argc, &argv, NULL); qtest_add_func("/virtio/scsi/pci/nop", pci_nop); qtest_add_func("/virtio/scsi/pci/hotplug", hotplug); qtest_add_func("/virtio/scsi/pci/scsi-disk/unaligned-write-same", test_unaligned_write_same); - ret = g_test_run(); - - return ret; + return g_test_run(); } |