target-ppc: Drop cpu_ppc_close()
authorAndreas Färber <afaerber@suse.de>
Fri, 6 Apr 2012 12:42:59 +0000 (14:42 +0200)
committerAndreas Färber <afaerber@suse.de>
Sun, 15 Apr 2012 15:07:19 +0000 (17:07 +0200)
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>
target-ppc/cpu.h
target-ppc/helper.c

index e7fb3641a7fa96e7cfc31cdb2de225b48774537c..1d5c6027294342cdcf49e57949ca5cfe1ad36435 100644 (file)
@@ -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.  */
index f0ea1c318478588de3f2c70f6593abbe1682d8db..f61b8b261ecda77e2d2ad9eacb4a6210d7990359 100644 (file)
@@ -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);
-}