]> www.infradead.org Git - qemu-nvme.git/commit
tcg: Remove error return from tcg_region_initial_alloc__locked
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 9 Mar 2021 17:45:19 +0000 (11:45 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 11 Jun 2021 16:26:28 +0000 (09:26 -0700)
commitbd35f2ceac5e933f8eb168866e8899a36e32317d
tree8ae1b1f1f399090aded47f60d79ec5f085dd5121
parentb0a0794a0f16e2160d8d35b14cca8f5e81b8b67e
tcg: Remove error return from tcg_region_initial_alloc__locked

All callers immediately assert on error, so move the assert
into the function itself.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c