From: Lionel Landwerlin Date: Wed, 9 May 2018 15:40:37 +0000 (+0100) Subject: i965: silence unused variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3853f1c6f4b97edde22c767a80c137da6e39904a;p=mesa.git 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 --- 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);