From c25c9d6be0974c80bc5dc48c9431c2d9e279524b Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Wed, 10 Jun 2020 00:30:42 +0800 Subject: [PATCH] cleanup --- qemu/target-arm/cpu-qom.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/qemu/target-arm/cpu-qom.h b/qemu/target-arm/cpu-qom.h index 40fac1c2..36f9dbd3 100644 --- a/qemu/target-arm/cpu-qom.h +++ b/qemu/target-arm/cpu-qom.h @@ -165,15 +165,6 @@ typedef struct ARMCPU { #define ARM_CPU_CLASS(uc, klass) ((ARMCPUClass *)klass) #define ARM_CPU_GET_CLASS(uc, obj) (&((ARMCPU *)obj)->cc) -typedef struct AArch64CPUClass { - /*< private >*/ - ARMCPUClass parent_class; - /*< public >*/ -} AArch64CPUClass; - -#define AARCH64_CPU_CLASS(uc, klass) ((AArch64CPUClass *)klass) -#define AARCH64_CPU_GET_CLASS(uc, obj) ((AArch64CPUClass *)(&((ARMCPU *)obj)->cc)) - static inline ARMCPU *arm_env_get_cpu(CPUARMState *env) { return container_of(env, ARMCPU, env);