[PATCH v2] drm/amdgpu: remove unnecessary check before kfree

2015-06-26 Thread Maninder Singh
kfree(NULL) is safe and this check is probably not required Signed-off-by: Maninder Singh Reviewed-by: Vaneet Narang Reviewed-by: Christian Konig --- v2: Chnged shortlog prefix - gpu/amdgpu drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH v2] drm/amdgpu: remove unnecessary check before kfree

2015-06-26 Thread Alex Deucher
On Fri, Jun 26, 2015 at 3:56 AM, Maninder Singh wrote: > kfree(NULL) is safe and this check is probably not required > > Signed-off-by: Maninder Singh > Reviewed-by: Vaneet Narang > Reviewed-by: Christian Konig Applied. thanks! Alex > --- > v2: Chnged shortlog prefix - gpu/amdgpu > > driv