KVM: PPC: Book3S HV: Remove redundant NULL check
authorChen Zhou <chenzhou10@huawei.com>
Wed, 1 Apr 2020 13:09:03 +0000 (21:09 +0800)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 27 May 2020 01:39:31 +0000 (11:39 +1000)
commit32e594f9a63f6bc7fdd396d9bc0a77b18208332b
tree22afa89fb88f3b42932d34b70f857c883694c59a
parent9d5272f5e36155bcead69417fd12e98624e7faef
KVM: PPC: Book3S HV: Remove redundant NULL check

Free function kfree() already does NULL check, so the additional
check is unnecessary, just remove it.

Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_hv_nested.c