summaryrefslogtreecommitdiffstats
path: root/target/rx
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2022-02-03 01:12:52 +0100
committerLaurent Vivier2022-02-21 18:18:51 +0100
commit7fa6d336b38884680b530817bb78486c8368c6a6 (patch)
treee4f7a36c16c865b7f991f3407dc47a080023480f /target/rx
parenttarget/avr: Correct AVRCPUClass docstring (diff)
downloadqemu-7fa6d336b38884680b530817bb78486c8368c6a6.tar.gz
qemu-7fa6d336b38884680b530817bb78486c8368c6a6.tar.xz
qemu-7fa6d336b38884680b530817bb78486c8368c6a6.zip
target/rx: Remove unused ENV_OFFSET definition
The last use of ENV_OFFSET was removed in 5e1401969b ("cpu: Move icount_decr to CPUNegativeOffsetState"); the commit of target/rx came in just afterward. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220203001252.37982-1-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target/rx')
-rw-r--r--target/rx/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/rx/cpu.h b/target/rx/cpu.h
index 657db84ef0..58adf9edf6 100644
--- a/target/rx/cpu.h
+++ b/target/rx/cpu.h
@@ -116,8 +116,6 @@ struct RXCPU {
typedef RXCPU ArchCPU;
-#define ENV_OFFSET offsetof(RXCPU, env)
-
#define RX_CPU_TYPE_SUFFIX "-" TYPE_RX_CPU
#define RX_CPU_TYPE_NAME(model) model RX_CPU_TYPE_SUFFIX
#define CPU_RESOLVING_TYPE TYPE_RX_CPU