From e9fb81375ac5d1fa14ee25a3537d86747e2d9217 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 9 Oct 2018 14:31:34 +0100 Subject: [PATCH] st/dri: remove leftover local variable Left over from the cleanup in 6ccc435e7ad92bb0ba77d "pipe-loader: move dup(fd) within pipe_loader_drm_probe_fd" Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- src/gallium/state_trackers/dri/dri2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index 4efc4334b65..2fb3e592844 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -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) -- 2.30.2