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 5a170de..179ccc4 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 b6ce817..da4a4d5 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);