i965: drop unused variables
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 15 Sep 2017 17:11:11 +0000 (18:11 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 15 Sep 2017 19:09:13 +0000 (12:09 -0700)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c

index 5a170de845943ac0dadf888c7df79230616bf003..179ccc4c6fb31bc3e06da26dccdb972bffcc2976 100644 (file)
@@ -198,7 +198,6 @@ brw_gs_populate_key(struct brw_context *brw,
 void
 brw_upload_gs_prog(struct brw_context *brw)
 {
-   const struct gen_device_info *devinfo = &brw->screen->devinfo;
    struct brw_stage_state *stage_state = &brw->gs.base;
    struct brw_gs_prog_key key;
    /* BRW_NEW_GEOMETRY_PROGRAM */
index b6ce8174d57747063b721c356d1ac881aeda6705..da4a4d5f250ee645be252f9f49665070534ae6a1 100644 (file)
@@ -174,7 +174,6 @@ intel_batchbuffer_reset(struct intel_batchbuffer *batch,
                         struct intel_screen *screen)
 {
    struct brw_bufmgr *bufmgr = screen->bufmgr;
-   const struct gen_device_info *devinfo = &screen->devinfo;
 
    if (batch->last_bo != NULL) {
       brw_bo_unreference(batch->last_bo);