From 19720405d5c455e2920e549606f8a45437a3a816 Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Fri, 14 Apr 2017 08:36:45 -0700 Subject: [PATCH] genxml: Remove unused parameter. 'start' parameter from Group.emit_pack_function() is useless. Signed-off-by: Rafael Antognolli Reviewed-by: Kenneth Graunke --- 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 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") -- 2.30.2