linux_dsm_epyc7002/drivers/gpu/drm/amd
Markus Elfring 1721c69c33 drm/amdgpu: Delete an unnecessary check before drm_gem_object_unreference_unlocked()
The drm_gem_object_unreference_unlocked() function tests whether
its argument is NULL and then returns immediately.
Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-07-29 14:36:52 -04:00
..
acp drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU 2016-05-25 09:44:15 -04:00
amdgpu drm/amdgpu: Delete an unnecessary check before drm_gem_object_unreference_unlocked() 2016-07-29 14:36:52 -04:00
amdkfd drm/amdkfd: destroy mutex if process creation fails 2016-07-03 08:05:45 +03:00
include drm/amdgpu: add ucode_start_address into cgs_firmware_info 2016-07-15 12:33:10 -04:00
powerplay drivers/amdgpu: Remove redundant itermediate return val 2016-07-29 14:36:51 -04:00
scheduler drm/amdgpu: add amd_sched_job_recovery 2016-07-07 15:06:15 -04:00