[Mesa-dev] [PATCH 02/35] genxml: Remove unused parameter.
Rafael Antognolli
rafael.antognolli at intel.com
Wed Apr 19 23:55:55 UTC 2017
'start' parameter from Group.emit_pack_function() is useless.
Signed-off-by: Rafael Antognolli <rafael.antognolli at intel.com>
---
src/intel/genxml/gen_pack_header.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py
index 2a70945..29bec40 100644
--- a/src/intel/genxml/gen_pack_header.py
+++ b/src/intel/genxml/gen_pack_header.py
@@ -346,7 +346,7 @@ class Group(object):
dwords[index + 1] = dwords[index]
index = index + 1
- def emit_pack_function(self, start):
+ def emit_pack_function(self):
dwords = {}
self.collect_dwords(dwords, 0, "")
@@ -578,7 +578,7 @@ class Parser(object):
# Cast dst to make header C++ friendly
print(" uint32_t * restrict dw = (uint32_t * restrict) dst;")
- group.emit_pack_function(0)
+ group.emit_pack_function()
print("}\n")
--
git-series 0.9.1
More information about the mesa-dev
mailing list