Re: [PATCH] drm/amdgpu/acpi: NULL check before some freeing functions is not needed

2018-12-05 Thread Alex Deucher
Applied. thanks! Alex On Wed, Dec 5, 2018 at 2:02 PM Lyude Paul wrote: > > Reviewed-by: Lyude Paul > > Thanks! > > On Wed, 2018-12-05 at 15:43 +0800, Wen Yang wrote: > > kfree(NULL) is safe, so removes NULL check before freeing the mem. > > This patch also fix the ifnullfree.cocci warnings. >

Re: [PATCH] drm/amdgpu/acpi: NULL check before some freeing functions is not needed

2018-12-05 Thread Lyude Paul
Reviewed-by: Lyude Paul Thanks! On Wed, 2018-12-05 at 15:43 +0800, Wen Yang wrote: > kfree(NULL) is safe, so removes NULL check before freeing the mem. > This patch also fix the ifnullfree.cocci warnings. > > Signed-off-by: Wen Yang > CC: Alex Deucher > CC: christian.koe...@amd.com > CC:

[PATCH] drm/amdgpu/acpi: NULL check before some freeing functions is not needed

2018-12-05 Thread Wen Yang
kfree(NULL) is safe, so removes NULL check before freeing the mem. This patch also fix the ifnullfree.cocci warnings. Signed-off-by: Wen Yang CC: Alex Deucher CC: christian.koe...@amd.com CC: "David (ChunMing) Zhou" CC: David Airlie (maintainer:DRM DRIVERS) CC: Lyude Paul CC: Rex Zhu CC: