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
|
@ -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…
Reference in New Issue