These functions are no longer used to access CPUTLB or IcountDecr and can be safely removed.
Signed-off-by: Anton Johansson <a...@rev.ng> --- include/exec/cpu-all.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index a31df11770..fee0e7df73 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -421,30 +421,6 @@ static inline CPUState *env_cpu(CPUArchState *env) return &env_archcpu(env)->parent_obj; } -/** - * env_neg(env) - * @env: The architecture environment - * - * Return the CPUNegativeOffsetState associated with the environment. - */ -static inline CPUNegativeOffsetState *env_neg(CPUArchState *env) -{ - ArchCPU *arch_cpu = container_of(env, ArchCPU, env); - return &arch_cpu->neg; -} - -/** - * cpu_neg(cpu) - * @cpu: The generic CPUState - * - * Return the CPUNegativeOffsetState associated with the cpu. - */ -static inline CPUNegativeOffsetState *cpu_neg(CPUState *cpu) -{ - ArchCPU *arch_cpu = container_of(cpu, ArchCPU, parent_obj); - return &arch_cpu->neg; -} - /** * env_tlb(env) * @env: The architecture environment -- 2.41.0