From 3853f1c6f4b97edde22c767a80c137da6e39904a Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 9 May 2018 16:40:37 +0100 Subject: [PATCH] i965: silence unused variable Signed-off-by: Lionel Landwerlin Fixes: 2dc29e095f9da ("i965: Don't leak blorp on Gen4-5.") Reviewed-by: Caio Marcelo de Oliveira Filho --- src/mesa/drivers/dri/i965/brw_context.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index ec3fe3be40d..bd1e20845f0 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -1098,7 +1098,6 @@ intelDestroyContext(__DRIcontext * driContextPriv) struct brw_context *brw = (struct brw_context *) driContextPriv->driverPrivate; struct gl_context *ctx = &brw->ctx; - const struct gen_device_info *devinfo = &brw->screen->devinfo; _mesa_meta_free(&brw->ctx);