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

Qiujun Huang hqjagain at gmail.com
Mon Apr 6 11:14:52 AEST 2020


Sorry about noise, please just ignore it.

On Mon, Apr 6, 2020 at 4:50 AM Markus Elfring <Markus.Elfring at web.de> 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 kfree() in __kvmhv_nested_page_fault()
>
> * [-next] KVM: PPC: Book3S HV: remove redundant NULL check
>   https://lkml.kernel.org/lkml/20200401130903.6576-1-chenzhou10@huawei.com/
>   https://lore.kernel.org/patchwork/patch/1218800/
>
> Regards,
> Markus


More information about the Linuxppc-dev mailing list