Re: [PATCH] KVM: PPC: Book3S HV: Remove NULL check before kfree

2020-04-05 Thread Qiujun Huang
Sorry about noise, please just ignore it. On Mon, Apr 6, 2020 at 4:50 AM Markus Elfring wrote: > > > NULL check before kfree is unnecessary, so remove it. > > Would you like to take similar update suggestions into account? > * 2019-09-04 > KVM: PPC: Book3S HV: Delete an unnecessary check before

Re: [PATCH] KVM: PPC: Book3S HV: Remove NULL check before kfree

2020-04-05 Thread Markus Elfring
> NULL check before kfree is unnecessary, so remove it. Would you like to take similar update suggestions into account? * 2019-09-04 KVM: PPC: Book3S HV: Delete an unnecessary check before kfree() in __kvmhv_nested_page_fault() * [-next] KVM: PPC: Book3S HV: remove redundant NULL check https

[PATCH] KVM: PPC: Book3S HV: Remove NULL check before kfree

2020-04-05 Thread Qiujun Huang
NULL check before kfree is unnecessary, so remove it. This issue was detected by using the Coccinelle software. Signed-off-by: Qiujun Huang --- arch/powerpc/kvm/book3s_hv_nested.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/kvm/book3s_hv_nested.c b/arch/p