compositor-drm: Bypass the check of the libinput
Continue to start weston while error occurred in libinput.
Upstream-Status: Inappropriate [i.MX-specific]
Signed-off-by Yong Gan <yong.gan@nxp.com>
diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index 6fd1bf1..0f90ff8 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -7430,7 +7430,6 @@
compositor, b->udev, seat_id,
config->configure_device) < 0) {
weston_log("failed to create input devices\n");
- goto err_sprite;
}
if (drm_backend_create_heads(b, drm_device) < 0) {
@@ -7512,7 +7511,6 @@
wl_event_source_remove(b->drm_source);
err_udev_input:
udev_input_destroy(&b->input);
-err_sprite:
if (b->gbm)
gbm_device_destroy(b->gbm);
destroy_sprites(b);