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:
parent
c8095b4306
commit
aa8d2d6fff
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user