egl/x11: remove dri2_dpy->conn checks
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 29 Jul 2015 16:19:03 +0000 (17:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 7 Aug 2015 18:14:20 +0000 (19:14 +0100)
commitbf66988b08786c123804c2be8846a6a21cf200ad
treee3be87dbf9c9a7c6d098b101c98317619014a3a5
parent60e9c35b3a0384860ffcb01d902a69ee13254eb9
egl/x11: remove dri2_dpy->conn checks

If the connection is NULL we won't be able to get here.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/egl/drivers/dri2/platform_x11.c