egl/dri2: drop NULL checks prior to dri2_destroy_surface
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 16 Aug 2016 12:24:48 +0000 (13:24 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 11:17:18 +0000 (12:17 +0100)
commit07690a289a60f9b12cde59affefeed9e05864dd7
treebbc907458d17aefcc61f67adc9741fff01f454f3
parent8cf83f9c08a929547062a8ba105a3a75531d72a4
egl/dri2: drop NULL checks prior to dri2_destroy_surface

The function already have the respective check within.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.c