]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove redundant variable r and redundant return statement
authorColin Ian King <colin.king@canonical.com>
Thu, 3 Oct 2019 21:40:49 +0000 (22:40 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Oct 2019 13:53:14 +0000 (08:53 -0500)
commit6839aeac0509e9e17172da8357616ebd0e026cb9
treeff3c7b624a8e8939baeae873d919181c88887b75
parent9f1e221d6a785a3d47114f5b8ded9f9716289a32
drm/amdgpu: remove redundant variable r and redundant return statement

There is a return statement that is not reachable and a variable that
is not used.  Remove them.

Addresses-Coverity: ("Structurally dead code")
Fixes: 4078a1fe65b6 ("drm/amdgpu: cleanup creating BOs at fixed location (v2)")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c