aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-04-18 06:39:53 +0000
committerStefan Weil <weil@mail.berlios.de>2011-04-20 10:37:03 +0200
commit618ba8e6a1313df6a8366ac8ffee47e3f885ac90 (patch)
treef9d4131c1bfee51372cbc01aca7bf89505c57a84 /translate-all.c
parente87b7cb0f0e04d7c4510564530ab00ed4db37a45 (diff)
Remove unused function parameter from cpu_restore_state
The previous patch removed the need for parameter puc. Is is now unused, so remove it. Cc: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/translate-all.c b/translate-all.c
index 97668b2c8e..2ca190ca8f 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -112,8 +112,7 @@ int cpu_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr)
/* The cpu state corresponding to 'searched_pc' is restored.
*/
int cpu_restore_state(TranslationBlock *tb,
- CPUState *env, unsigned long searched_pc,
- void *puc)
+ CPUState *env, unsigned long searched_pc)
{
TCGContext *s = &tcg_ctx;
int j;