提交 e2fbb432 编写于 作者: A Andreas Färber

target-ppc: Drop cpu_ppc_close()

It is unused, so avoid QOM'ifying it unneededly.
Signed-off-by: NAndreas Färber <afaerber@suse.de>
Acked-by: NDavid Gibson <david@gibson.dropbear.id.au>
上级 5f2e2ba2
...@@ -1100,7 +1100,6 @@ struct mmu_ctx_t { ...@@ -1100,7 +1100,6 @@ struct mmu_ctx_t {
CPUPPCState *cpu_ppc_init (const char *cpu_model); CPUPPCState *cpu_ppc_init (const char *cpu_model);
void ppc_translate_init(void); void ppc_translate_init(void);
int cpu_ppc_exec (CPUPPCState *s); int cpu_ppc_exec (CPUPPCState *s);
void cpu_ppc_close (CPUPPCState *s);
/* you can call this signal handler from your SIGBUS and SIGSEGV /* you can call this signal handler from your SIGBUS and SIGSEGV
signal handlers to inform the virtual CPU of exceptions. non zero signal handlers to inform the virtual CPU of exceptions. non zero
is returned if the signal was handled by the virtual CPU. */ is returned if the signal was handled by the virtual CPU. */
......
...@@ -3214,9 +3214,3 @@ CPUPPCState *cpu_ppc_init (const char *cpu_model) ...@@ -3214,9 +3214,3 @@ CPUPPCState *cpu_ppc_init (const char *cpu_model)
return env; return env;
} }
void cpu_ppc_close (CPUPPCState *env)
{
/* Should also remove all opcode tables... */
g_free(env);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册