From: Alistair Francis Date: Fri, 19 Jun 2015 04:16:52 +0000 (-0700) Subject: target-microblaze: Remove dead code X-Git-Tag: v2.4.0-rc0~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad7020a7e7b27d468ecc2aacb04ba4eb09017074;p=thirdparty%2Fqemu.git target-microblaze: Remove dead code This code is already being run in the mb_cpu_realizefn() function. As PVR registers are preserved on reset this code is not required. Signed-off-by: Alistair Francis Reviewed-by: Edgar E. Iglesias Reviewed-by: Peter Crosthwaite Signed-off-by: Edgar E. Iglesias --- diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c index ac390ce732c..c592bf76e41 100644 --- a/target-microblaze/cpu.c +++ b/target-microblaze/cpu.c @@ -179,10 +179,6 @@ static void mb_cpu_realizefn(DeviceState *dev, Error **errp) env->sregs[SR_PC] = cpu->cfg.base_vectors; -#if defined(CONFIG_USER_ONLY) - env->pvr.regs[10] = 0x0c000000; /* Spartan 3a dsp. */ -#endif - mcc->parent_realize(dev, errp); }