summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-10-09 14:31:34 +0100
committerEric Engestrom <[email protected]>2018-10-30 10:20:58 +0000
commite9fb81375ac5d1fa14ee25a3537d86747e2d9217 (patch)
tree1a8012837f1987a5c30e779953425b6e91aa533d /src
parent7d66eddbbdec98df21dc9d8286f8e047d575b52d (diff)
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 <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/dri/dri2.c1
1 files changed, 0 insertions, 1 deletions
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)