[PATCH -next] KVM: PPC: Book3S HV: remove redundant NULL check

Paul Mackerras paulus at ozlabs.org
Wed May 27 14:15:30 AEST 2020


On Wed, Apr 01, 2020 at 09:09:03PM +0800, Chen Zhou wrote:
> Free function kfree() already does NULL check, so the additional
> check is unnecessary, just remove it.
> 
> Signed-off-by: Chen Zhou <chenzhou10 at huawei.com>

Thanks, applied to my kvm-ppc-next branch.

Paul.


More information about the Linuxppc-dev mailing list