diff --git a/gfx/drivers_context/drm_ctx.c b/gfx/drivers_context/drm_ctx.c index db9039b003..f946aae800 100644 --- a/gfx/drivers_context/drm_ctx.c +++ b/gfx/drivers_context/drm_ctx.c @@ -365,7 +365,6 @@ static void *gfx_ctx_drm_init(void *video_driver) if (!drm) return NULL; - fd = -1; gpu_descriptors = dir_list_new("/dev/dri", NULL, false, true, false, false); nextgpu: