turnip: drop dead close(master_fd)
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 19 Apr 2019 10:47:34 +0000 (11:47 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 26 Apr 2019 10:26:33 +0000 (11:26 +0100)
commit1a9367c13455e6ecff39ec04351d557cf5cf59e4
tree959f2ec521884643bd552ee8395e6dc7f84c1091
parent00d4e78ea938e770ed48882a00d15a7500a281b4
turnip: drop dead close(master_fd)

The fd is -1, thus the block of if (fd != -1) close(fd) is dead code.

Cc: Chad Versace <chadversary@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/freedreno/vulkan/tu_device.c