st/dri: remove leftover local variable
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 9 Oct 2018 13:31:34 +0000 (14:31 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 30 Oct 2018 10:20:58 +0000 (10:20 +0000)
Left over from the cleanup in 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/state_trackers/dri/dri2.c

index 4efc4334b65c85613819384707ceda9e4cfbc1cb..2fb3e59284490697a0eff4adcae0525d5533096c 100644 (file)
@@ -2205,7 +2205,6 @@ dri_kms_init_screen(__DRIscreen * sPriv)
    struct dri_screen *screen;
    struct pipe_screen *pscreen = NULL;
    uint64_t cap;
-   int fd;
 
    screen = CALLOC_STRUCT(dri_screen);
    if (!screen)