summaryrefslogtreecommitdiffstats
path: root/arch/mips/kvm/kvm_mips_commpage.c
diff options
context:
space:
mode:
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>2014-06-26 21:11:36 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-06-30 16:52:02 +0200
commitd98403a525fe1648c516f33e2bf674d277d69135 (patch)
tree2cb239cc4708829314830a32b7747c2ecb3455cd /arch/mips/kvm/kvm_mips_commpage.c
parentMIPS: KVM: Use KVM internal logger (diff)
downloadlinux-d98403a525fe1648c516f33e2bf674d277d69135.tar.xz
linux-d98403a525fe1648c516f33e2bf674d277d69135.zip
MIPS: KVM: Simplify functions by removing redundancy
No logic changes inside. Reviewed-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/kvm/kvm_mips_commpage.c')
-rw-r--r--arch/mips/kvm/kvm_mips_commpage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/kvm/kvm_mips_commpage.c b/arch/mips/kvm/kvm_mips_commpage.c
index ab7096ec0666..4b5612b34fef 100644
--- a/arch/mips/kvm/kvm_mips_commpage.c
+++ b/arch/mips/kvm/kvm_mips_commpage.c
@@ -33,6 +33,4 @@ void kvm_mips_commpage_init(struct kvm_vcpu *vcpu)
/* Specific init values for fields */
vcpu->arch.cop0 = &page->cop0;
memset(vcpu->arch.cop0, 0, sizeof(struct mips_coproc));
-
- return;
}