hw/mips/fuloong2e: Convert pointless error message to an assert()
commit5e4b6bb1e8afb4cc2fcaaa6f3e57a6ec5184953f
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 1 Sep 2020 10:40:40 +0000 (1 12:40 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 9 Sep 2020 13:22:50 +0000 (9 15:22 +0200)
treeefdf7d3e1c51ea9c50988746466d3b9ecaa99677
parent9435a8b3dd35f1f926f1b9127e8a906217a5518a
hw/mips/fuloong2e: Convert pointless error message to an assert()

Displaying "vt82c686b_init error" doesn't give any hint about why
this call failed. As this message targets developers and not users,
replace the pointless error message by a call to assert() which
will provide more useful information.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200901104043.91383-3-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/mips/fuloong2e.c