aboutsummaryrefslogtreecommitdiff
path: root/target-arm/helper.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-03-29 04:50:30 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-03-29 15:40:53 +0000
commit0bcd08b3522e4feffe3111e7c8145f62d32cc1fb (patch)
treedf8469c4d91f3ab58d64bd796afc1e474b4bc05c /target-arm/helper.c
parentf638f0d3ae214d995cdd94578195700cda24597b (diff)
target-arm: Drop cpu_arm_close()
It's unused, so no need to QOM'ify it later. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/helper.c')
-rw-r--r--target-arm/helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 1314f23d59..1ce8105ab3 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -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