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 ec3fe3be40d170dd5a6f0a744e6804e6b568863a..bd1e20845f0a8d4dd7286021d166d5d9a7365a71 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);