]> git.baikalelectronics.ru Git - kernel.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)
commit9fda1c14385bfdd67e47e459d5e78892cb60ff93
treef2fef0bf2885015b636d0ff20d8898651d013ecb
parente4d957f43396be8d2c61bfe781f34b2d7895e7dc
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