Mesa (main): u_format: Drop redundant .name init.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 3 00:44:43 UTC 2021


Module: Mesa
Branch: main
Commit: 8a40780466e0325f4a1c39e2dbeb3e84d82883bd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a40780466e0325f4a1c39e2dbeb3e84d82883bd

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Apr 27 15:56:23 2021 -0700

u_format: Drop redundant .name init.

It's the first member that's set.

Acked-by: Adam Jackson <ajax at redhat.com>
Acked-by: Ilia Mirkin <imirkin at alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10505>

---

 src/util/format/u_format_parse.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/util/format/u_format_parse.py b/src/util/format/u_format_parse.py
index 08d6f5eb7e2..2c3b1aa9148 100644
--- a/src/util/format/u_format_parse.py
+++ b/src/util/format/u_format_parse.py
@@ -122,7 +122,6 @@ class Format:
         self.le_swizzles = le_swizzles
         self.be_channels = be_channels
         self.be_swizzles = be_swizzles
-        self.name = name
         self.colorspace = colorspace
 
     def __str__(self):



More information about the mesa-commit mailing list