tcg: Cleanup trailing whitespace

Remove whitespace at end of line, plus one place this also
highlights some missing braces.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2022-11-30 22:38:25 -08:00
parent dba6a9ebc1
commit a813e36f2b
2 changed files with 18 additions and 17 deletions

View File

@ -517,10 +517,11 @@ void *tcg_malloc_internal(TCGContext *s, int size)
p = g_malloc(sizeof(TCGPool) + pool_size); p = g_malloc(sizeof(TCGPool) + pool_size);
p->size = pool_size; p->size = pool_size;
p->next = NULL; p->next = NULL;
if (s->pool_current) if (s->pool_current) {
s->pool_current->next = p; s->pool_current->next = p;
else } else {
s->pool_first = p; s->pool_first = p;
}
} else { } else {
p = p->next; p = p->next;
} }