From patchwork Wed Apr 21 09:48:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: ppc: remove dead code Date: Tue, 20 Apr 2010 23:48:11 -0000 From: Thomas Monjalon X-Patchwork-Id: 50648 Message-Id: <1271843291-13804-1-git-send-email-thomas_ml@monjalon.net> To: qemu-devel@nongnu.org From: Thomas Monjalon This function had been disabled from the beginning: see 9fddaa0c0cabb610947146a79b4a9a38b0a216e5 cpu_reset() function is in target-ppc/helper.c Signed-off-by: Thomas Monjalon Acked-by: Alexander Graf --- hw/ppc.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/hw/ppc.c b/hw/ppc.c index 5baeeaf..2a77eb9 100644 --- a/hw/ppc.c +++ b/hw/ppc.c @@ -1085,16 +1085,6 @@ int ppc_dcr_init (CPUState *env, int (*read_error)(int dcrn), return 0; } -#if 0 -/*****************************************************************************/ -/* Handle system reset (for now, just stop emulation) */ -void cpu_reset(CPUState *env) -{ - printf("Reset asked... Stop emulation\n"); - abort(); -} -#endif - /*****************************************************************************/ /* Debug port */ void PPC_debug_write (void *opaque, uint32_t addr, uint32_t val)