st/nine: do not double-close the fd on teardown
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 29 Aug 2018 17:13:13 +0000 (18:13 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 3 Oct 2018 12:38:05 +0000 (13:38 +0100)
commit7b8d1b313cd01bb916898d8bb92a566534e37677
tree2fef403a4a7e55202f8ba258f717790144fdfc0c
parentfa9df82f67c7dda41bd3c9aab1487ec10fadca96
st/nine: do not double-close the fd on teardown

As the newly introduced comment says:
 The pipe loader takes ownership of the fd

Thus, there's no need to close it again.

Cc: Patrick Rudolph <siro@das-labor.org>
Cc: Axel Davy <davyaxel0@gmail.com>
Cc: mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Axel Davy <davyaxel0@gmail.com>
src/gallium/targets/d3dadapter9/drm.c