qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Anton Johansson
Subject: [PATCH 08/11] include/exec: Remove env_tlb()
Date: Tue, 12 Sep 2023 17:34:25 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]