hw/arm: Remove unreachable code calling pflash_cfi01_register()
commit20f822261a0ea34470b7367be4d06b68bc07071b
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 9 Jan 2023 11:53:16 +0000 (9 12:53 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Jan 2023 17:03:14 +0000 (12 17:03 +0000)
tree3e4ceba4b0c6d377e4da3b4f72ab0fb927ac18fd
parent65395b3cdda7c5ad1a520c985da35f6c6619eb01
hw/arm: Remove unreachable code calling pflash_cfi01_register()

Since its QOM'ification in commit 368a354f02 ("pflash_cfi0x:
QOMified") the pflash_cfi01_register() function does 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-14-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/gumstix.c
hw/arm/mainstone.c
hw/arm/omap_sx1.c
hw/arm/versatilepb.c
hw/arm/z2.c