Skip to content

Commit

Permalink
openrisc: cpu: Remove unused cpu_get_pc
Browse files Browse the repository at this point in the history
This function is not used by anything. Remove.

Signed-off-by: Peter Crosthwaite <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
pcrost authored and Michael Tokarev committed Apr 30, 2015
1 parent 4d85040 commit 5530293
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions target-openrisc/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 5530293

Please sign in to comment.