diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c index 90c6f24d..add07c06 100644 --- a/libweston/compositor-drm.c +++ b/libweston/compositor-drm.c @@ -796,12 +796,6 @@ drm_output_find_by_crtc(struct drm_backend *b, uint32_t crtc_id) return output; } - wl_list_for_each(output, &b->compositor->pending_output_list, - base.link) { - if (output->crtc_id == crtc_id) - return output; - } - return NULL; }