Patchwork [for-1.1] target-mips: Remove commented-out function declaration

login
register
mail settings
Submitter Andreas Färber
Date May 5, 2012, 11:40 a.m.
Message ID <1336218047-8906-1-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/157033/
State New
Headers show

Comments

Andreas Färber - May 5, 2012, 11:40 a.m.
There is no function cpu_mips_get_clock(), so drop it.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Stefan Weil <sw@weilnetz.de>
---
 target-mips/cpu.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Stefan Weil - May 6, 2012, 8:30 a.m.
Am 05.05.2012 13:40, schrieb Andreas Färber:
> There is no function cpu_mips_get_clock(), so drop it.
>
> Signed-off-by: Andreas Färber<afaerber@suse.de>
> Cc: Stefan Weil<sw@weilnetz.de>
> ---
>   target-mips/cpu.h |    1 -
>   1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/target-mips/cpu.h b/target-mips/cpu.h
> index c0f8826..44c1152 100644
> --- a/target-mips/cpu.h
> +++ b/target-mips/cpu.h
> @@ -627,7 +627,6 @@ enum {
>
>   int cpu_mips_exec(CPUMIPSState *s);
>   CPUMIPSState *cpu_mips_init(const char *cpu_model);
> -//~ uint32_t cpu_mips_get_clock (void);
>   int cpu_mips_signal_handler(int host_signum, void *pinfo, void *puc);
>
>   /* mips_timer.c */

Acked-by: Stefan Weil <sw@weilnetz.de>
Andreas Färber - May 11, 2012, 11:10 a.m.
Am 06.05.2012 10:30, schrieb Stefan Weil:
> Am 05.05.2012 13:40, schrieb Andreas Färber:
>> There is no function cpu_mips_get_clock(), so drop it.
>>
>> Signed-off-by: Andreas Färber<afaerber@suse.de>
>> Cc: Stefan Weil<sw@weilnetz.de>
>> ---
>>   target-mips/cpu.h |    1 -
>>   1 files changed, 0 insertions(+), 1 deletions(-)
>>
>> diff --git a/target-mips/cpu.h b/target-mips/cpu.h
>> index c0f8826..44c1152 100644
>> --- a/target-mips/cpu.h
>> +++ b/target-mips/cpu.h
>> @@ -627,7 +627,6 @@ enum {
>>
>>   int cpu_mips_exec(CPUMIPSState *s);
>>   CPUMIPSState *cpu_mips_init(const char *cpu_model);
>> -//~ uint32_t cpu_mips_get_clock (void);
>>   int cpu_mips_signal_handler(int host_signum, void *pinfo, void *puc);
>>
>>   /* mips_timer.c */
> 
> Acked-by: Stefan Weil <sw@weilnetz.de>

Thanks, applied to qom-next for now:
http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/qom-next

I'll queue it for a 1.1-rc2 pull.

Andreas

Patch

diff --git a/target-mips/cpu.h b/target-mips/cpu.h
index c0f8826..44c1152 100644
--- a/target-mips/cpu.h
+++ b/target-mips/cpu.h
@@ -627,7 +627,6 @@  enum {
 
 int cpu_mips_exec(CPUMIPSState *s);
 CPUMIPSState *cpu_mips_init(const char *cpu_model);
-//~ uint32_t cpu_mips_get_clock (void);
 int cpu_mips_signal_handler(int host_signum, void *pinfo, void *puc);
 
 /* mips_timer.c */