[Mesa-dev] [PATCH 06/11] intel/tools/error: Drop unused MAX_RINGS #define.

Kenneth Graunke kenneth at whitecape.org
Sun Nov 12 08:35:07 UTC 2017


Dead code.
---
 src/intel/tools/aubinator_error_decode.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c
index 0b0a308a317..9cd0fa761dd 100644
--- a/src/intel/tools/aubinator_error_decode.c
+++ b/src/intel/tools/aubinator_error_decode.c
@@ -207,8 +207,6 @@ print_fault_data(struct gen_device_info *devinfo, uint32_t data1, uint32_t data0
           data1 & (1 << 4) ? "GGTT" : "PPGTT");
 }
 
-#define MAX_RINGS 10 /* I really hope this never... */
-
 #define CSI "\e["
 #define NORMAL       CSI "0m"
 
-- 
2.15.0



More information about the mesa-dev mailing list