egl/android: remove droid_probe_driver()
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 8 Aug 2018 14:05:56 +0000 (15:05 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 24 Aug 2018 10:52:39 +0000 (11:52 +0100)
commitd1211f3112c0e7c710a380ddc0887a44f461e1bb
tree7ba642fcc4b23622c39c208c954a7788a34814ac
parent9b5bf7afced7ef7dd1b379023df8cd8ed333b160
egl/android: remove droid_probe_driver()

The function name is misleading - it effectively checks if
loader_get_driver_for_fd fails. Which can happen only only on strdup
error - a close to impossible scenario.

Drop the function - we call the loader API at at later stage.

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