]> Git Repo - qemu.git/commitdiff
target-arm: Drop cpu_arm_close()
authorAndreas Färber <[email protected]>
Thu, 29 Mar 2012 04:50:30 +0000 (04:50 +0000)
committerPeter Maydell <[email protected]>
Thu, 29 Mar 2012 15:40:53 +0000 (15:40 +0000)
It's unused, so no need to QOM'ify it later.

Signed-off-by: Andreas Färber <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
target-arm/cpu.h
target-arm/helper.c

index 26c114b6e50f0fa49b953dba7f017d3b9f1f41f8..69ef14274370fc7d08d1b738675c91ed7d4b7eec 100644 (file)
@@ -238,7 +238,6 @@ typedef struct CPUARMState {
 CPUARMState *cpu_arm_init(const char *cpu_model);
 void arm_translate_init(void);
 int cpu_arm_exec(CPUARMState *s);
-void cpu_arm_close(CPUARMState *s);
 void do_interrupt(CPUARMState *);
 void switch_mode(CPUARMState *, int);
 uint32_t do_arm_semihosting(CPUARMState *env);
index 1314f23d59b09179dbcaea35c3b80a6396181da0..1ce8105ab3f6e50a60e466b245050afe5ec58835 100644 (file)
@@ -493,11 +493,6 @@ static uint32_t cpu_arm_find_by_name(const char *name)
     return id;
 }
 
-void cpu_arm_close(CPUARMState *env)
-{
-    g_free(env);
-}
-
 static int bad_mode_switch(CPUARMState *env, int mode)
 {
     /* Return true if it is not valid for us to switch to
This page took 0.026269 seconds and 4 git commands to generate.