commit | 181790117bdfa98021890e9e9fa2f85a1b1e5a60 | [log] [tgz] |
---|---|---|
author | Lucas Stach <l.stach@pengutronix.de> | Thu Oct 29 16:55:17 2020 +0100 |
committer | Marge Bot <eric+marge@anholt.net> | Fri Oct 30 13:27:44 2020 +0000 |
tree | 09cf08fa283754b3f0ecb336c4d70a0aae0cf028 | |
parent | 98db7c4841c652ab8bccd4dc6c6a4be084e5cddb [diff] |
etnaviv: cosmetic etna_resource_alloc fixes Get rid if the local bo variable, we can just assign it to the pointer in the etna_resource struct. Get rid of superfluous clearing of the TS bo pointer, the struct is already zero initialized. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7367>