hw/arm/vexpress: Remove dead code in vexpress_common_init()
commit65395b3cdda7c5ad1a520c985da35f6c6619eb01
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 9 Jan 2023 11:53:15 +0000 (9 12:53 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Jan 2023 17:03:14 +0000 (12 17:03 +0000)
tree980451b9dca4de5aa2304bee9f03ed39c4dfc20d
parent96c85ef86bc049e8dc0fb92447e88612a19919b0
hw/arm/vexpress: Remove dead code in vexpress_common_init()

Upon introduction in commit b8433303fb ("Set proper device-width
for vexpress flash"), ve_pflash_cfi01_register() was calling
qdev_init_nofail() which can not fail. This call was later
converted with a script to use &error_fatal, still unable to
fail. Remove the unreachable code.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230109115316.2235-13-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/vexpress.c