wayland/dma-buf: Remove redundant error check

`meta_egl_*` functions are assumed to set an error on failure.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2386>
This commit is contained in:
Robert Mader 2022-04-26 20:27:57 +02:00 committed by Marge Bot
parent c8095b4306
commit aa8d2d6fff

View File

@ -1282,7 +1282,7 @@ add_format (MetaWaylandDmaBufManager *dma_buf_manager,
&num_modifiers, &error))
{
g_warning ("Failed to query modifiers for format 0x%" PRIu32 ": %s",
drm_format, error ? error->message : "unknown error");
drm_format, error->message);
goto add_fallback;
}