i965: silence unused variable
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 9 May 2018 15:40:37 +0000 (16:40 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 9 May 2018 17:12:10 +0000 (18:12 +0100)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 2dc29e095f9da ("i965: Don't leak blorp on Gen4-5.")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/mesa/drivers/dri/i965/brw_context.c

index ec3fe3b..bd1e208 100644 (file)
@@ -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);