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:
Emil Velikov 2018-08-08 15:13:20 +01:00 committed by Emil Velikov
parent d1211f3112
commit 2f8403a4ca
1 changed files with 0 additions and 5 deletions

View File

@ -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;