[Mesa-dev] [PATCH 02/35] genxml: Remove unused parameter.

Kenneth Graunke kenneth at whitecape.org
Thu Apr 20 00:59:10 UTC 2017


On Wednesday, April 19, 2017 4:55:55 PM PDT Rafael Antognolli wrote:
> '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")
>  
> 

Patches 2-4 are:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170419/12c9b398/attachment.sig>


More information about the mesa-dev mailing list