diff mbox

[v2,5/5] ppc: remove dead code

Message ID 4c62604e4a0ce433751368db8db4c168654d2970.1272382040.git.thomas@monjalon.net
State New
Headers show

Commit Message

Thomas Monjalon April 27, 2010, 3:31 p.m. UTC
From: Thomas Monjalon <thomas@monjalon.net>

This function had been disabled from the beginning (see 9fddaa0).

cpu_reset() function is in target-ppc/helper.c

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Alexander Graf <agraf@suse.de>
---
 hw/ppc.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
diff mbox

Patch

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)