[PATCH 08/11] include/exec: Remove env_tlb()

Anton Johansson via posted 11 patches 2 years, 5 months ago
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Riku Voipio <riku.voipio@iki.fi>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Peter Maydell <peter.maydell@linaro.org>
There is a newer version of this series
[PATCH 08/11] include/exec: Remove env_tlb()
Posted by Anton Johansson via 2 years, 5 months ago
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(-)

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
-- 
2.41.0