[Mesa-dev] [PATCH 1/4] ac/sid_tables: remove unused variable varname_values

Nicolai Hähnle nhaehnle at gmail.com
Mon Sep 4 12:11:04 UTC 2017


From: Nicolai Hähnle <nicolai.haehnle at amd.com>

---
 src/amd/common/sid_tables.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/amd/common/sid_tables.py b/src/amd/common/sid_tables.py
index 0a2b7ef1fe4..01970caa7be 100644
--- a/src/amd/common/sid_tables.py
+++ b/src/amd/common/sid_tables.py
@@ -124,21 +124,20 @@ class IntTable:
             'static ' if static else '',
             self.typename, name,
             '\n'.join(fragments)
         ))
 
 class Field:
     def __init__(self, reg, s_name):
         self.s_name = s_name
         self.name = strip_prefix(s_name)
         self.values = []
-        self.varname_values = '%s__%s__values' % (reg.r_name.lower(), self.name.lower())
 
 class Reg:
     def __init__(self, r_name):
         self.r_name = r_name
         self.name = strip_prefix(r_name)
         self.fields = []
         self.own_fields = True
 
 
 def strip_prefix(s):
-- 
2.11.0



More information about the mesa-dev mailing list