hw/sparc/leon3: Remove duplicate code
commitc90e6e37083a7ca3b53838429591196db31fec0e
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 30 Jan 2024 10:12:16 +0000 (30 11:12 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 15 Feb 2024 15:58:46 +0000 (15 16:58 +0100)
tree6616f50472f3f05efd0326c9a1e91bb977d10be8
parentd08b7af3f7f27f6f3da8446756bf0b9352026b1d
hw/sparc/leon3: Remove duplicate code

Since commit b04d989054 ("SPARC: Emulation of Leon3") the
main_cpu_reset() handler sets both pc/npc when the CPU is
reset, after the machine is realized. It is pointless to
set it in leon3_generic_hw_init().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Clément Chigot <chigot@adacore.com>
Message-Id: <20240130113102.6732-3-philmd@linaro.org>
hw/sparc/leon3.c