diff mbox series

target/hppa: Remove duplicated CPU_RESOLVING_TYPE definition

Message ID 20250321184200.4329-1-philmd@linaro.org (mailing list archive)
State New
Headers show
Series target/hppa: Remove duplicated CPU_RESOLVING_TYPE definition | expand

Commit Message

Philippe Mathieu-Daudé March 21, 2025, 6:42 p.m. UTC
The CPU_RESOLVING_TYPE definition was added in commit
0dacec874fa ("cpu: add CPU_RESOLVING_TYPE macro"), but
then added again in commit d3ae32d4d20. Remove the
duplication.

Fixes: d3ae32d4d20 ("target/hppa: Implement cpu_list")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 target/hppa/cpu.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Richard Henderson March 23, 2025, 7:14 p.m. UTC | #1
On 3/21/25 11:42, Philippe Mathieu-Daudé wrote:
> The CPU_RESOLVING_TYPE definition was added in commit
> 0dacec874fa ("cpu: add CPU_RESOLVING_TYPE macro"), but
> then added again in commit d3ae32d4d20. Remove the
> duplication.
> 
> Fixes: d3ae32d4d20 ("target/hppa: Implement cpu_list")
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   target/hppa/cpu.h | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h
> index 7be4a1d3800..8b36642b591 100644
> --- a/target/hppa/cpu.h
> +++ b/target/hppa/cpu.h
> @@ -391,6 +391,4 @@ void hppa_cpu_alarm_timer(void *);
>   #endif
>   G_NORETURN void hppa_dynamic_excp(CPUHPPAState *env, int excp, uintptr_t ra);
>   
> -#define CPU_RESOLVING_TYPE TYPE_HPPA_CPU
> -
>   #endif /* HPPA_CPU_H */

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
diff mbox series

Patch

diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h
index 7be4a1d3800..8b36642b591 100644
--- a/target/hppa/cpu.h
+++ b/target/hppa/cpu.h
@@ -391,6 +391,4 @@  void hppa_cpu_alarm_timer(void *);
 #endif
 G_NORETURN void hppa_dynamic_excp(CPUHPPAState *env, int excp, uintptr_t ra);
 
-#define CPU_RESOLVING_TYPE TYPE_HPPA_CPU
-
 #endif /* HPPA_CPU_H */