From 915dc6db45587a0e119c91766ebac65f6ad9d4fe Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 15 Sep 2017 18:11:11 +0100 Subject: [PATCH] i965: drop unused variables Signed-off-by: Eric Engestrom Reviewed-by: Jason Ekstrand Acked-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_gs.c | 1 - src/mesa/drivers/dri/i965/intel_batchbuffer.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index 5a170de8459..179ccc4c6fb 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -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 */ diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c index b6ce8174d57..da4a4d5f250 100644 --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c @@ -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); -- 2.30.2