From: Eric Engestrom Date: Tue, 9 Oct 2018 13:31:34 +0000 (+0100) Subject: st/dri: remove leftover local variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9fb81375ac5d1fa14ee25a3537d86747e2d9217;p=mesa.git 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 --- 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)