Patchwork remove dead code

login
register
mail settings
Submitter Jun Koi
Date July 23, 2010, 5:57 a.m.
Message ID <AANLkTimZTxg6_=wSjxeNmSfb1VBS=rfZoS=5zeBmQ2WH@mail.gmail.com>
Download mbox | patch
Permalink /patch/59736/
State New
Headers show

Comments

Jun Koi - July 23, 2010, 5:57 a.m.
this patch removes unused function cpu_restore_state_copy().

Signed-off-by: Jun Koi <junkoi2004@gmail.com>
Edgar Iglesias - July 24, 2010, 1:09 p.m.
On Fri, Jul 23, 2010 at 02:57:40PM +0900, Jun Koi wrote:
> this patch removes unused function cpu_restore_state_copy().
> 
> Signed-off-by: Jun Koi <junkoi2004@gmail.com>

Applied, thanks.


> 
> diff --git a/exec-all.h b/exec-all.h
> index 58b5575..3a53fe6 100644
> --- a/exec-all.h
> +++ b/exec-all.h
> @@ -86,9 +86,6 @@ int cpu_gen_code(CPUState *env, struct TranslationBlock *tb,
>  int cpu_restore_state(struct TranslationBlock *tb,
>                        CPUState *env, unsigned long searched_pc,
>                        void *puc);
> -int cpu_restore_state_copy(struct TranslationBlock *tb,
> -                           CPUState *env, unsigned long searched_pc,
> -                           void *puc);
>  void cpu_resume_from_signal(CPUState *env1, void *puc);
>  void cpu_io_recompile(CPUState *env, void *retaddr);
>  TranslationBlock *tb_gen_code(CPUState *env,
>

Patch

diff --git a/exec-all.h b/exec-all.h
index 58b5575..3a53fe6 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -86,9 +86,6 @@  int cpu_gen_code(CPUState *env, struct TranslationBlock *tb,
 int cpu_restore_state(struct TranslationBlock *tb,
                       CPUState *env, unsigned long searched_pc,
                       void *puc);
-int cpu_restore_state_copy(struct TranslationBlock *tb,
-                           CPUState *env, unsigned long searched_pc,
-                           void *puc);
 void cpu_resume_from_signal(CPUState *env1, void *puc);
 void cpu_io_recompile(CPUState *env, void *retaddr);
 TranslationBlock *tb_gen_code(CPUState *env,