freedreno/cffdec: Fix indentation

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12489>
This commit is contained in:
Rob Clark 2021-08-20 10:48:28 -07:00 committed by Marge Bot
parent 295807e666
commit 32f13cb9bc

View File

@ -88,8 +88,7 @@ buffer_contains_hostptr(struct buffer *buf, void *hostptr)
uint64_t
gpuaddr(void *hostptr)
{
rb_tree_foreach(struct buffer, buf, &buffers, node)
{
rb_tree_foreach (struct buffer, buf, &buffers, node) {
if (buffer_contains_hostptr(buf, hostptr))
return buf->gpuaddr + (hostptr - buf->hostptr);
}
@ -165,8 +164,7 @@ has_dumped(uint64_t gpuaddr, unsigned enable_mask)
void
reset_buffers(void)
{
rb_tree_foreach_safe(struct buffer, buf, &buffers, node)
{
rb_tree_foreach_safe (struct buffer, buf, &buffers, node) {
rb_tree_remove(&buffers, &buf->node);
free(buf->hostptr);
free(buf);