mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
egl/android: remove drmVersion::name NULL check
The name string is guaranteed to be non-NULL. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org>
This commit is contained in:
parent
d1211f3112
commit
2f8403a4ca
1 changed files with 0 additions and 5 deletions
|
|
@ -1419,11 +1419,6 @@ droid_probe_device(_EGLDisplay *disp, int fd, const char *vendor)
|
|||
if (!ver)
|
||||
return probe_fail;
|
||||
|
||||
if (!ver->name) {
|
||||
ret = probe_fail;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (vendor && strcmp(vendor, ver->name) != 0) {
|
||||
ret = probe_filtered_out;
|
||||
goto cleanup;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue