[Mesa-dev] [PATCH mesa] i965: drop unused variables

Eric Engestrom eric.engestrom at imgtec.com
Fri Sep 15 17:11:11 UTC 2017


Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
 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 5a170de845..179ccc4c6f 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 b6ce8174d5..da4a4d5f25 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);
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list