From e2fbb432fc4ec64d0a53c41588ede31450b6c6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Fri, 6 Apr 2012 14:42:59 +0200 Subject: target-ppc: Drop cpu_ppc_close() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is unused, so avoid QOM'ifying it unneededly. Signed-off-by: Andreas Färber Acked-by: David Gibson --- target-ppc/helper.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'target-ppc/helper.c') 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); -} -- cgit v1.1