]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove set but not used variable 'adev'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 23 Oct 2019 07:58:31 +0000 (15:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Oct 2019 15:06:51 +0000 (11:06 -0400)
commitdc3c8d254caffd2a1acbd14abbdfa67ecd678a73
tree70c156ce1b09c9a9511934a729e3014ea2ae8d06
parent0ffe2c7cd21e7b6121d4ab40381a7b1ed5305fdc
drm/amdgpu: remove set but not used variable 'adev'

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1221:24: warning: variable adev set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:488:24: warning: variable adev set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:547:24: warning: variable adev set but not used [-Wunused-but-set-variable]

It is never used, so can removed it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c