qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Crosthwaite <crosthwaitepeter@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, edgari@xilinx.com,
	Peter Crosthwaite <crosthwaite.peter@gmail.com>
Subject: [Qemu-devel] [PATCH microblaze v1 3/6] mb: cpu: Remote unused cpu_get_pc
Date: Sun, 26 Apr 2015 12:10:21 -0700	[thread overview]
Message-ID: <1430075424-25975-4-git-send-email-crosthwaite.peter@gmail.com> (raw)
In-Reply-To: <1430075424-25975-1-git-send-email-crosthwaite.peter@gmail.com>

This function is not used by anything. Remove.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
---
 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)
 {
-- 
1.9.1

  parent reply	other threads:[~2015-04-26 19:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-26 19:10 [Qemu-devel] [PATCH microblaze v1 0/6] Microblaze Cleanups Peter Crosthwaite
2015-04-26 19:10 ` [Qemu-devel] [PATCH microblaze v1 1/6] defconfigs: Piggyback microblazeel on microblaze Peter Crosthwaite
2015-04-26 19:10 ` [Qemu-devel] [PATCH microblaze v1 2/6] mb: mmu: Delete flip_um fn prototype Peter Crosthwaite
2015-04-26 19:10 ` Peter Crosthwaite [this message]
2015-04-30  8:43   ` [Qemu-devel] [PATCH microblaze v1 3/6] mb: cpu: Remote unused cpu_get_pc Alex Bennée
2015-04-26 19:10 ` [Qemu-devel] [PATCH microblaze v1 4/6] mb: cpu: Remove unused CC_OP enum Peter Crosthwaite
2015-04-26 19:10 ` [Qemu-devel] [PATCH microblaze v1 5/6] mb: cpu: Delete EXCP_NMI Peter Crosthwaite
2015-04-27  9:28   ` Edgar E. Iglesias
2015-04-27 13:41     ` Michael Tokarev
2015-04-27 14:13       ` Peter Crosthwaite
2015-04-27 23:25       ` Edgar E. Iglesias
2015-04-26 19:10 ` [Qemu-devel] [PATCH microblaze v1 6/6] mb: cpu: delete unused cpu_interrupts_enabled Peter Crosthwaite
2015-04-27 14:47 ` [Qemu-devel] [PATCH microblaze v1 0/6] Microblaze Cleanups Michael Tokarev
2015-04-29  5:46   ` Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1430075424-25975-4-git-send-email-crosthwaite.peter@gmail.com \
    --to=crosthwaitepeter@gmail.com \
    --cc=crosthwaite.peter@gmail.com \
    --cc=edgari@xilinx.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).