From: Eric Engestrom Date: Fri, 15 Sep 2017 17:11:11 +0000 (+0100) Subject: i965: drop unused variables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=915dc6db45587a0e119c91766ebac65f6ad9d4fe;p=mesa.git i965: drop unused variables Signed-off-by: Eric Engestrom Reviewed-by: Jason Ekstrand Acked-by: Kenneth Graunke --- 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);