From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynj3w-00071o-ME for qemu-devel@nongnu.org; Thu, 30 Apr 2015 03:39:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ynj3t-0007Hp-3e for qemu-devel@nongnu.org; Thu, 30 Apr 2015 03:39:12 -0400 From: Peter Crosthwaite Date: Thu, 30 Apr 2015 00:38:52 -0700 Message-Id: <1430379532-7300-1-git-send-email-crosthwaite.peter@gmail.com> Subject: [Qemu-devel] [PATCH] openrisc: cpu: Remove unused cpu_get_pc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, proljc@gmail.com, Peter Crosthwaite This function is not used by anything. Remove. Signed-off-by: Peter Crosthwaite --- 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