diff --git a/libweston/compositor.c b/libweston/compositor.c index b661a4a8..2a323bb5 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -7644,12 +7644,6 @@ weston_output_init(struct weston_output *output, pixman_region32_init(&output->region); wl_list_init(&output->mode_list); - /* At least one test inits outputs with a NULL compositor, - * So bail on anything that requires a valid compositor here. - */ - if (!compositor) - return; - weston_plane_init(&output->primary_plane, compositor); weston_compositor_stack_plane(compositor, &output->primary_plane, NULL);