aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2017-04-14 08:36:45 -0700
committerKenneth Graunke <[email protected]>2017-04-24 15:14:05 -0700
commit19720405d5c455e2920e549606f8a45437a3a816 (patch)
tree387c7031b38425cd598ce243aba95e9916e6670f
parent1ea41163eb0657e7c6cd46c45bdbc3fd4e8e72f8 (diff)
genxml: Remove unused parameter.
'start' parameter from Group.emit_pack_function() is useless. Signed-off-by: Rafael Antognolli <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/intel/genxml/gen_pack_header.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py
index 5228f30bd05..81c64cbbc75 100644
--- a/src/intel/genxml/gen_pack_header.py
+++ b/src/intel/genxml/gen_pack_header.py
@@ -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")