tcg: Simplify calls to temp_sync vs mem_coherent
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 21 Oct 2022 01:00:35 +0000 (11:00 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 5 Jan 2023 19:41:28 +0000 (11:41 -0800)
commitf01847c251c24beaf3a0a41764d331355d08ab54
tree32b6a68954c7f7daf404d03a4b30d8d8dc0f1203
parentfac87bd2a49bf16edeb1d2823a993ad7c9ed073b
tcg: Simplify calls to temp_sync vs mem_coherent

The first thing that temp_sync does is check mem_coherent,
so there's no need for the caller to do so.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c