Am 9. Januar 2023 12:01:50 UTC schrieb "Philippe Mathieu-Daudé"
<philmd@linaro.org>:
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>
---
hw/ppc/sam460ex.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
It looks like there is more:
https://lists.nongnu.org/archive/html/qemu-devel/2022-10/msg02491.html