diff options
author | Víctor Colombo <victor.colombo@eldorado.org.br> | 2022-09-06 09:55:17 -0300 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-09-20 10:54:06 -0300 |
commit | 228ab1451d2b4a731d00d4ff42c6e367afbbabdd (patch) | |
tree | 03e854dfc6c954f511072d101228ea22efcecf6e /target | |
parent | 676696f428202b8f2dcd34ec8ff84baa38a14e61 (diff) | |
download | qemu-228ab1451d2b4a731d00d4ff42c6e367afbbabdd.zip qemu-228ab1451d2b4a731d00d4ff42c6e367afbbabdd.tar.gz qemu-228ab1451d2b4a731d00d4ff42c6e367afbbabdd.tar.bz2 |
target/ppc: Remove unused xer_* macros
The macros xer_ov, xer_ca, xer_ov32, and xer_ca32 are both unused and
hiding the usage of env. Remove them.
Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220906125523.38765-3-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/ppc/cpu.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h index 602ea77..7f73e2a 100644 --- a/target/ppc/cpu.h +++ b/target/ppc/cpu.h @@ -1506,10 +1506,6 @@ void ppc_compat_add_property(Object *obj, const char *name, #define XER_CMP 8 #define XER_BC 0 #define xer_so (env->so) -#define xer_ov (env->ov) -#define xer_ca (env->ca) -#define xer_ov32 (env->ov) -#define xer_ca32 (env->ca) #define xer_cmp ((env->xer >> XER_CMP) & 0xFF) #define xer_bc ((env->xer >> XER_BC) & 0x7F) |