]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/amdgpu: remove unnecessary check before kfree
authorManinder Singh <maninder1.s@samsung.com>
Fri, 26 Jun 2015 07:56:57 +0000 (13:26 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jun 2015 15:21:51 +0000 (11:21 -0400)
commita08c1d516fb3eb302ff14a10eedda844e75c625f
treef2fef0bf2885015b636d0ff20d8898651d013ecb
parent5f0b34cc72aa627fd28230be3de469321e0af03e
drm/amdgpu: remove unnecessary check before kfree

kfree(NULL) is safe and this check is probably not required

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Reviewed-by: Vaneet Narang <v.narang@samsung.com>
Reviewed-by: Christian Konig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c