From: Alexander Graf <agraf@suse.de> To: kvm-ppc@vger.kernel.org Cc: kvm@vger.kernel.org, pbonzini@redhat.com, Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Subject: [PULL 09/18] arch: powerpc: kvm: book3s_32_mmu.c: Remove unused function Date: Thu, 18 Dec 2014 01:46:52 +0100 [thread overview] Message-ID: <1418863621-6630-10-git-send-email-agraf@suse.de> (raw) In-Reply-To: <1418863621-6630-1-git-send-email-agraf@suse.de> From: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Remove the function sr_nx() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: Alexander Graf <agraf@suse.de> --- arch/powerpc/kvm/book3s_32_mmu.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/powerpc/kvm/book3s_32_mmu.c b/arch/powerpc/kvm/book3s_32_mmu.c index cd0b073..a2eb6d3 100644 --- a/arch/powerpc/kvm/book3s_32_mmu.c +++ b/arch/powerpc/kvm/book3s_32_mmu.c @@ -78,11 +78,6 @@ static inline bool sr_kp(u32 sr_raw) return (sr_raw & 0x20000000) ? true: false; } -static inline bool sr_nx(u32 sr_raw) -{ - return (sr_raw & 0x10000000) ? true: false; -} - static int kvmppc_mmu_book3s_32_xlate_bat(struct kvm_vcpu *vcpu, gva_t eaddr, struct kvmppc_pte *pte, bool data, bool iswrite); -- 1.8.1.4
WARNING: multiple messages have this Message-ID (diff)
From: Alexander Graf <agraf@suse.de> To: kvm-ppc@vger.kernel.org Cc: kvm@vger.kernel.org, pbonzini@redhat.com, Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Subject: [PULL 09/18] arch: powerpc: kvm: book3s_32_mmu.c: Remove unused function Date: Thu, 18 Dec 2014 00:46:52 +0000 [thread overview] Message-ID: <1418863621-6630-10-git-send-email-agraf@suse.de> (raw) In-Reply-To: <1418863621-6630-1-git-send-email-agraf@suse.de> From: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Remove the function sr_nx() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: Alexander Graf <agraf@suse.de> --- arch/powerpc/kvm/book3s_32_mmu.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/powerpc/kvm/book3s_32_mmu.c b/arch/powerpc/kvm/book3s_32_mmu.c index cd0b073..a2eb6d3 100644 --- a/arch/powerpc/kvm/book3s_32_mmu.c +++ b/arch/powerpc/kvm/book3s_32_mmu.c @@ -78,11 +78,6 @@ static inline bool sr_kp(u32 sr_raw) return (sr_raw & 0x20000000) ? true: false; } -static inline bool sr_nx(u32 sr_raw) -{ - return (sr_raw & 0x10000000) ? true: false; -} - static int kvmppc_mmu_book3s_32_xlate_bat(struct kvm_vcpu *vcpu, gva_t eaddr, struct kvmppc_pte *pte, bool data, bool iswrite); -- 1.8.1.4
next prev parent reply other threads:[~2014-12-18 0:47 UTC|newest] Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-12-18 0:46 [PULL 00/18] ppc patch queue 2014-12-18 Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 01/18] KVM: PPC: BookE: Improve irq inject tracepoint Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 02/18] KVM: PPC: Book3S HV: Add missing HPTE unlock Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 03/18] KVM: PPC: Book3S HV: Fix computation of tlbie operand Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 04/18] KVM: PPC: Book3S HV: Fix an issue where guest is paused on receiving HMI Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 05/18] KVM: PPC: Book3S HV: Fix KSM memory corruption Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 06/18] KVM: PPC: Book3S HV: Fix inaccuracies in ICP emulation for H_IPI Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 07/18] KVM: PPC: Book3S HV: ptes are big endian Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 08/18] KVM: PPC: Book3S HV: Check wait conditions before sleeping in kvmppc_vcore_blocked Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` Alexander Graf [this message] 2014-12-18 0:46 ` [PULL 09/18] arch: powerpc: kvm: book3s_32_mmu.c: Remove unused function Alexander Graf 2014-12-18 0:46 ` [PULL 10/18] arch: powerpc: kvm: book3s.c: Remove some unused functions Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 11/18] arch: powerpc: kvm: book3s_pr.c: Remove unused function Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 12/18] arch: powerpc: kvm: book3s_paired_singles.c: " Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 13/18] KVM: PPC: Book3S HV: Simplify locking around stolen time calculations Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 14/18] KVM: PPC: Book3S HV: Tracepoints for KVM HV guest interactions Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 15/18] KVM: PPC: Book3S HV: Remove code for PPC970 processors Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:46 ` [PULL 16/18] KVM: PPC: Book3S HV: Fix endianness of instruction obtained from HEIR register Alexander Graf 2014-12-18 0:46 ` Alexander Graf 2014-12-18 0:47 ` [PULL 17/18] KVM: PPC: Book3S HV: Improve H_CONFER implementation Alexander Graf 2014-12-18 0:47 ` Alexander Graf 2014-12-18 0:47 ` [PULL 18/18] KVM: PPC: Book3S: Enable in-kernel XICS emulation by default Alexander Graf 2014-12-18 0:47 ` Alexander Graf 2014-12-18 10:38 ` [PULL 00/18] ppc patch queue 2014-12-18 Paolo Bonzini 2014-12-18 10:38 ` Paolo Bonzini
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=1418863621-6630-10-git-send-email-agraf@suse.de \ --to=agraf@suse.de \ --cc=kvm-ppc@vger.kernel.org \ --cc=kvm@vger.kernel.org \ --cc=pbonzini@redhat.com \ --cc=rickard_strandqvist@spectrumdigital.se \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.