i965: drop unused MAYBE_UNUSED function
authorEric Engestrom <eric.engestrom@intel.com>
Sat, 22 Jun 2019 17:11:44 +0000 (18:11 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 31 Jul 2019 08:41:05 +0000 (09:41 +0100)
Added in 1b85c605a60a80975460 but never used.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/genX_state_upload.c

index dd0f66d088043dcf1db02023c297ce5eb13d9501..502613a9139098c8d96d82e7bbb8f67dcce123bc 100644 (file)
@@ -84,7 +84,7 @@ emit_lrm(struct brw_context *brw, uint32_t reg, struct brw_address addr)
 }
 #endif
 
-#if GEN_GEN <= 7
+#if GEN_GEN == 7
 static void
 emit_lri(struct brw_context *brw, uint32_t reg, uint32_t imm)
 {
@@ -93,16 +93,6 @@ emit_lri(struct brw_context *brw, uint32_t reg, uint32_t imm)
       lri.DataDWord        = imm;
    }
 }
-
-#if GEN_IS_HASWELL || GEN_GEN >= 8
-MAYBE_UNUSED static void
-emit_lrr(struct brw_context *brw, uint32_t dst, uint32_t src)
-{
-   brw_batch_emit(brw, GENX(MI_LOAD_REGISTER_REG), lrr) {
-      lrr.SourceRegisterAddress        = src;
-      lrr.DestinationRegisterAddress   = dst;
-   }
-}
 #endif
 
 /**