egl: fix libdrm-less builds
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 27 Feb 2019 15:26:08 +0000 (15:26 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 5 Mar 2019 13:04:06 +0000 (13:04 +0000)
commitbcc4bfc8e80da5dc4c6ee44f791f2112dac208d1
treef637a5ef8b0f9387a0de9d3c8a334985667854a2
parente37ea1e0d398e9f139b9a9f15585272cfa706cff
egl: fix libdrm-less builds

This function was never used, and isn't properly guarded by HAVE_LIBDRM,
breaking the build on systems that don't have libdrm.

Let's just remove it.

Fixes: 7552fcb7b9b98392e6a8 "egl: add base EGL_EXT_device_base implementation"
Reported-by: Timo Aaltonen <tjaalton@debian.org>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/main/egldevice.c
src/egl/main/egldevice.h