[Intel-gfx] [PATCH 13/13] intel: Disable unused decode_logic_op().

Eric Anholt eric at anholt.net
Wed Dec 21 19:09:43 CET 2011


It was producing an unused code warning.  I'm tempted to just remove
it, since it's unused, but I *might* use it soon.
---
 intel/intel_decode.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/intel/intel_decode.c b/intel/intel_decode.c
index e8410d0..dbbcd38 100644
--- a/intel/intel_decode.c
+++ b/intel/intel_decode.c
@@ -1043,6 +1043,7 @@ decode_stencil_op(uint32_t op)
 	return "";
 }
 
+#if 0
 static const char *
 decode_logic_op(uint32_t op)
 {
@@ -1082,6 +1083,7 @@ decode_logic_op(uint32_t op)
 	}
 	return "";
 }
+#endif
 
 static const char *
 decode_blend_fact(uint32_t op)
-- 
1.7.7.3




More information about the Intel-gfx mailing list