Patchwork [for-1.4?,qom-cpu-next,2/9] target-lm32: Drop unused cpu_lm32_close() prototype

login
register
mail settings
Submitter Andreas Färber
Date Feb. 2, 2013, 11:57 a.m.
Message ID <1359806247-27799-3-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/217653/
State New
Headers show

Comments

Andreas Färber - Feb. 2, 2013, 11:57 a.m.
It was never implemented.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 target-lm32/cpu.h |    1 -
 1 Datei geändert, 1 Zeile entfernt(-)
Andreas Färber - Feb. 16, 2013, 3:47 p.m.
Am 02.02.2013 12:57, schrieb Andreas Färber:
> It was never implemented.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>

Applied to qom-cpu:
https://github.com/afaerber/qemu-cpu/commits/qom-cpu

Andreas

> ---
>  target-lm32/cpu.h |    1 -
>  1 Datei geändert, 1 Zeile entfernt(-)
> 
> diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h
> index 4e202db..6948d0e 100644
> --- a/target-lm32/cpu.h
> +++ b/target-lm32/cpu.h
> @@ -189,7 +189,6 @@ struct CPULM32State {
>  LM32CPU *cpu_lm32_init(const char *cpu_model);
>  void cpu_lm32_list(FILE *f, fprintf_function cpu_fprintf);
>  int cpu_lm32_exec(CPULM32State *s);
> -void cpu_lm32_close(CPULM32State *s);
>  void do_interrupt(CPULM32State *env);
>  /* you can call this signal handler from your SIGBUS and SIGSEGV
>     signal handlers to inform the virtual CPU of exceptions. non zero
>

Patch

diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h
index 4e202db..6948d0e 100644
--- a/target-lm32/cpu.h
+++ b/target-lm32/cpu.h
@@ -189,7 +189,6 @@  struct CPULM32State {
 LM32CPU *cpu_lm32_init(const char *cpu_model);
 void cpu_lm32_list(FILE *f, fprintf_function cpu_fprintf);
 int cpu_lm32_exec(CPULM32State *s);
-void cpu_lm32_close(CPULM32State *s);
 void do_interrupt(CPULM32State *env);
 /* you can call this signal handler from your SIGBUS and SIGSEGV
    signal handlers to inform the virtual CPU of exceptions. non zero