]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove set but not used variable 'direct_poll' in vcn_v2_5.c
authorZheng Bin <zhengbin13@huawei.com>
Thu, 30 Apr 2020 02:26:53 +0000 (10:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Apr 2020 20:49:03 +0000 (16:49 -0400)
commit22da20b4e8947dfbb146ccab2d8ec160f986c2d6
tree9a603ab33ed19e5a5aa1ce5edaa0ca4faf207039
parentde3b7c8af8ad8a300bb3b5364cd4e6a4f437e904
drm/amdgpu: remove set but not used variable 'direct_poll' in vcn_v2_5.c

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

drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c:1170:39: warning: variable ‘direct_poll’ set but not used [-Wunused-but-set-variable]

It is introduced by commit feb2bc250e6e ("drm/amdgpu:
add VCN2.5 sriov start for Arctrus"), but never used,
so remove it.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c