summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2018-08-08 15:13:20 +0100
committerEmil Velikov <[email protected]>2018-08-24 11:52:41 +0100
commit2f8403a4ca523eada114505219b9f7e542be2869 (patch)
tree57282e8e87ef8a532798805e83864c14d9a8a29c /src/egl
parentd1211f3112c0e7c710a380ddc0887a44f461e1bb (diff)
egl/android: remove drmVersion::name NULL check
The name string is guaranteed to be non-NULL. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Tomasz Figa <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/dri2/platform_android.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index de53376c9fc..24fd7769613 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -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;