egl/android: use strcmp with drmVersion::name
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 8 Aug 2018 13:56:00 +0000 (14:56 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 24 Aug 2018 10:52:37 +0000 (11:52 +0100)
commit9b5bf7afced7ef7dd1b379023df8cd8ed333b160
treedc93c9e49f8da793b8b0bf7aa5f6f6876371a592
parent3827966643b63061027bbe9320b8e371c49e2033
egl/android: use strcmp with drmVersion::name

The name string is guaranteed to be NULL terminated. Drop the explicit
length check that comes with strncmp().

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
src/egl/drivers/dri2/platform_android.c