summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/egl_dri2.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-09-07 09:53:53 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-09-15 12:37:27 +0100
commitbd5bcb5b8ca043a3908d7a70ab1193efc1db278d (patch)
treeed2c0abc8bfb4379ed59c0c32e8ba736a73fd8df /src/egl/drivers/dri2/egl_dri2.c
parente4f0d26c8c3c092a09fb65184ab080de4e38373e (diff)
downloadexternal_mesa3d-bd5bcb5b8ca043a3908d7a70ab1193efc1db278d.zip
external_mesa3d-bd5bcb5b8ca043a3908d7a70ab1193efc1db278d.tar.gz
external_mesa3d-bd5bcb5b8ca043a3908d7a70ab1193efc1db278d.tar.bz2
egl/dri2/drm: compact existing device mgmt
Move the fcntl(dupfd_cloexec) to the else branch where it belongs. Otherwise it's not immediately obvious that the code is hit, only when an existing device is used. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Boyan Ding <boyan.j.ding@gmail.com>
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.c')
0 files changed, 0 insertions, 0 deletions