genxml: Remove unused parameter.

'start' parameter from Group.emit_pack_function() is useless.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Rafael Antognolli
2017-04-14 08:36:45 -07:00
committed by Kenneth Graunke
parent 1ea41163eb
commit 19720405d5
+2 -2
View File
@@ -347,7 +347,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, "")
@@ -579,7 +579,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")