drm/amdkfd: remove set but not used variable 'pdd'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 26 Jul 2019 14:00:54 +0000 (22:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Aug 2019 03:19:00 +0000 (22:19 -0500)
commita52c26f1d768b6185ed56444a1e5a1629ffd0c4c
tree5351c7c3e8f986fdada7594d78e2ec2e034537f6
parent192d56d2437f690bce20644f3a5eb2aaf420dc87
drm/amdkfd: remove set but not used variable 'pdd'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c: In function restore_process_worker:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c:949:29: warning:
 variable pdd set but not used [-Wunused-but-set-variable]

It is not used since
commit 5b87245faf57 ("drm/amdkfd: Simplify kfd2kgd interface")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_process.c