Message ID | 20230912153428.17816-9-anjo@rev.ng (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Reduce usage of CPUArchState in cputlb.c | expand |
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index b03218d7d3..ee21f94969 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -484,17 +484,6 @@ static inline CPUNegativeOffsetState *cpu_neg(CPUState *cpu) return &arch_cpu->neg; } -/** - * env_tlb(env) - * @env: The architecture environment - * - * Return the CPUTLB state associated with the environment. - */ -static inline CPUTLB *env_tlb(CPUArchState *env) -{ - return &env_neg(env)->tlb; -} - /** * cpu_tlb(cpu) * @cpu: The generic CPUState
The function is no longer used to access the TLB, and has been replaced by cpu_tlb(). Signed-off-by: Anton Johansson <anjo@rev.ng> --- include/exec/cpu-all.h | 11 ----------- 1 file changed, 11 deletions(-)