From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynk3x-0005Wm-SS for qemu-devel@nongnu.org; Thu, 30 Apr 2015 04:43:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ynk3x-0003Sq-4m for qemu-devel@nongnu.org; Thu, 30 Apr 2015 04:43:17 -0400 References: <1430075424-25975-1-git-send-email-crosthwaite.peter@gmail.com> <1430075424-25975-4-git-send-email-crosthwaite.peter@gmail.com> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <1430075424-25975-4-git-send-email-crosthwaite.peter@gmail.com> Date: Thu, 30 Apr 2015 09:43:48 +0100 Message-ID: <87ioce0zwb.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH microblaze v1 3/6] mb: cpu: Remote unused cpu_get_pc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: qemu-trivial@nongnu.org, edgari@xilinx.com, qemu-devel@nongnu.org, Peter Crosthwaite Peter Crosthwaite writes: > This function is not used by anything. Remove. > > Signed-off-by: Peter Crosthwaite > --- > target-microblaze/cpu.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h > index 7d06227..2c18b49 100644 > --- a/target-microblaze/cpu.h > +++ b/target-microblaze/cpu.h > @@ -333,11 +333,6 @@ static inline int cpu_interrupts_enabled(CPUMBState *env) > > #include "exec/cpu-all.h" > > -static inline target_ulong cpu_get_pc(CPUMBState *env) > -{ > - return env->sregs[SR_PC]; > -} > - > static inline void cpu_get_tb_cpu_state(CPUMBState *env, target_ulong *pc, > target_ulong *cs_base, int *flags) > { Ahh I see that now ;-) Reviewed-by: Alex Bennée -- Alex Bennée