All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] openrisc: cpu: Remove unused cpu_get_pc
@ 2015-04-30  7:38 Peter Crosthwaite
  2015-04-30  8:37 ` Alex Bennée
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Crosthwaite @ 2015-04-30  7:38 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, proljc, Peter Crosthwaite

This function is not used by anything. Remove.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
---
 target-openrisc/cpu.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/target-openrisc/cpu.h b/target-openrisc/cpu.h
index b25324b..9e23cd0 100644
--- a/target-openrisc/cpu.h
+++ b/target-openrisc/cpu.h
@@ -415,9 +415,4 @@ static inline int cpu_mmu_index(CPUOpenRISCState *env)
 
 #include "exec/exec-all.h"
 
-static inline target_ulong cpu_get_pc(CPUOpenRISCState *env)
-{
-    return env->pc;
-}
-
 #endif /* CPU_OPENRISC_H */
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] openrisc: cpu: Remove unused cpu_get_pc
  2015-04-30  7:38 [Qemu-devel] [PATCH] openrisc: cpu: Remove unused cpu_get_pc Peter Crosthwaite
@ 2015-04-30  8:37 ` Alex Bennée
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Bennée @ 2015-04-30  8:37 UTC (permalink / raw)
  To: Peter Crosthwaite; +Cc: qemu-trivial, Peter Crosthwaite, qemu-devel, proljc


Peter Crosthwaite <crosthwaitepeter@gmail.com> writes:

> This function is not used by anything. Remove.
>
> Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
> ---
>  target-openrisc/cpu.h | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/target-openrisc/cpu.h b/target-openrisc/cpu.h
> index b25324b..9e23cd0 100644
> --- a/target-openrisc/cpu.h
> +++ b/target-openrisc/cpu.h
> @@ -415,9 +415,4 @@ static inline int cpu_mmu_index(CPUOpenRISCState *env)
>  
>  #include "exec/exec-all.h"
>  
> -static inline target_ulong cpu_get_pc(CPUOpenRISCState *env)
> -{
> -    return env->pc;
> -}
> -
>  #endif /* CPU_OPENRISC_H */

Are you going to clean up the the microblaze one as well?

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-30  8:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-30  7:38 [Qemu-devel] [PATCH] openrisc: cpu: Remove unused cpu_get_pc Peter Crosthwaite
2015-04-30  8:37 ` Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.