]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel: Remove NVMM unreachable error path
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 5 Apr 2023 08:04:07 +0000 (10:04 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 28 Jun 2023 11:55:35 +0000 (13:55 +0200)
commit8c12c76df2373b61764c2cacb4a6c505f874fa5f
tree2b1b06e62fdfebc6962e08d58ab49e33a797c980
parent642ce52d8ea9e1f80aa6013ad55bb66e51f1c76e
accel: Remove NVMM unreachable error path

g_malloc0() can not fail. Remove the unreachable error path.

https://developer-old.gnome.org/glib/stable/glib-Memory-Allocation.html#glib-Memory-Allocation.description

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230624174121.11508-10-philmd@linaro.org>
target/i386/nvmm/nvmm-all.c