vl: drop left-over variable
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 26 Oct 2018 12:11:14 +0000 (13:11 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 30 Oct 2018 18:10:59 +0000 (18:10 +0000)
Fixes: 6ccc435e7ad92bb0ba77d "pipe-loader: move dup(fd) within pipe_loader_drm_probe_fd"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/auxiliary/vl/vl_winsys_drm.c

index 94eb6d74ee71643a24a0d700fb6e68ad22e29df3..9014b97bdfda0404c96a06d92f0e6bf361fb63ca 100644 (file)
@@ -41,7 +41,6 @@ struct vl_screen *
 vl_drm_screen_create(int fd)
 {
    struct vl_screen *vscreen;
-   int new_fd;
 
    vscreen = CALLOC_STRUCT(vl_screen);
    if (!vscreen)