MIPS: KVM: Remove redundant NULL checks before kfree()
authorJames Hogan <james.hogan@imgtec.com>
Thu, 29 May 2014 09:16:44 +0000 (10:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 May 2014 11:05:46 +0000 (13:05 +0200)
commitc6c0a6637f9da54f9472144d44f71cf847f92e20
tree8326b825442d603c7d1b6a4c4af3cb69f02f37e0
parent6e95bfd2675ea5332b10e9414de8886243ca53ae
MIPS: KVM: Remove redundant NULL checks before kfree()

The kfree() function already NULL checks the parameter so remove the
redundant NULL checks before kfree() calls in arch/mips/kvm/.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: kvm@vger.kernel.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: Sanjay Lal <sanjayl@kymasys.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/kvm_mips.c