[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb() |
Date: |
Mon, 27 Apr 2015 15:02:57 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
27.04.2015 04:38, Peter Crosthwaite wrote:
> No code uses the cpu_pc_from_tb() function. Delete.
>
> Signed-off-by: Peter Crosthwaite <address@hidden>
> ---
> target-arm/cpu.h | 9 ---------
> 1 file changed, 9 deletions(-)
>
> diff --git a/target-arm/cpu.h b/target-arm/cpu.h
> index 7069103..c9c5d30 100644
> --- a/target-arm/cpu.h
> +++ b/target-arm/cpu.h
> @@ -1874,15 +1874,6 @@ static inline void cpu_get_tb_cpu_state(CPUARMState
> *env, target_ulong *pc,
>
> #include "exec/exec-all.h"
>
> -static inline void cpu_pc_from_tb(CPUARMState *env, TranslationBlock *tb)
This function is also used in target-tricore/cpu.h, and is mentioned
in comments in tcg/tcg.h. Should these be removed as well?
Thanks,
/mjt
- [Qemu-devel] [PATCH target-arm 0/2] Unused code cleanups, Peter Crosthwaite, 2015/04/26
- [Qemu-devel] [PATCH target-arm 1/2] arm: cpu.h: Remove unused typdefs, Peter Crosthwaite, 2015/04/26
- [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Peter Crosthwaite, 2015/04/26
- Re: [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(),
Michael Tokarev <=
- Re: [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Michael Tokarev, 2015/04/27
- Re: [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Peter Maydell, 2015/04/27
- Re: [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Peter Maydell, 2015/04/27
- Re: [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Peter Crosthwaite, 2015/04/27
- Re: [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Peter Maydell, 2015/04/27
- Re: [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Michael Tokarev, 2015/04/29