[Mesa-dev] [PATCH 2/4] i965: remove the unused function current_insn()

Yuanhan Liu yuanhan.liu at linux.intel.com
Tue Nov 29 00:08:37 PST 2011


I didn't find anywhere use it anymore, remove it.

Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
---
 src/mesa/drivers/dri/i965/brw_eu.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h
index dcb1fc9..8a446eb 100644
--- a/src/mesa/drivers/dri/i965/brw_eu.h
+++ b/src/mesa/drivers/dri/i965/brw_eu.h
@@ -781,11 +781,6 @@ brw_same_reg(struct brw_reg r1, struct brw_reg r2)
    return r1.file == r2.file && r1.nr == r2.nr;
 }
 
-static INLINE struct brw_instruction *current_insn( struct brw_compile *p)
-{
-   return &p->store[p->nr_insn];
-}
-
 void brw_pop_insn_state( struct brw_compile *p );
 void brw_push_insn_state( struct brw_compile *p );
 void brw_set_mask_control( struct brw_compile *p, GLuint value );
-- 
1.7.4.4



More information about the mesa-dev mailing list