discover: Remove unnecessary event passing
[petitboot] / test / parser / test-yaboot-external.c
index 6d48b27a0bb5f6a66f159b0cef4d7155fe7d8c79..bd09b44e8a7999e4c3245293efd5926023f02110 100644 (file)
@@ -28,7 +28,7 @@ void run_test(struct parser_test *test)
        check_unresolved_resource(opt->boot_image);
        check_unresolved_resource(opt->initrd);
 
-       dev = test_create_device(ctx, "external");
+       dev = test_create_device(test, "external");
        test_hotplug_device(test, dev);
 
        check_resolved_local_resource(opt->boot_image, dev, "/vmlinux");