diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-06 14:42:59 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-04-15 17:07:19 +0200 |
commit | e2fbb432fc4ec64d0a53c41588ede31450b6c6a8 (patch) | |
tree | 56d4ff170d24d27b4aee7b723764da61c841d102 /target-ppc | |
parent | 5f2e2ba2625d6fa4ecbc2af86e076c20ab84c171 (diff) | |
download | hqemu-e2fbb432fc4ec64d0a53c41588ede31450b6c6a8.zip hqemu-e2fbb432fc4ec64d0a53c41588ede31450b6c6a8.tar.gz |
target-ppc: Drop cpu_ppc_close()
It is unused, so avoid QOM'ifying it unneededly.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/cpu.h | 1 | ||||
-rw-r--r-- | target-ppc/helper.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index e7fb364..1d5c602 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -1100,7 +1100,6 @@ struct mmu_ctx_t { CPUPPCState *cpu_ppc_init (const char *cpu_model); void ppc_translate_init(void); int cpu_ppc_exec (CPUPPCState *s); -void cpu_ppc_close (CPUPPCState *s); /* you can call this signal handler from your SIGBUS and SIGSEGV signal handlers to inform the virtual CPU of exceptions. non zero is returned if the signal was handled by the virtual CPU. */ diff --git a/target-ppc/helper.c b/target-ppc/helper.c index f0ea1c3..f61b8b2 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -3214,9 +3214,3 @@ CPUPPCState *cpu_ppc_init (const char *cpu_model) return env; } - -void cpu_ppc_close (CPUPPCState *env) -{ - /* Should also remove all opcode tables... */ - g_free(env); -} |