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

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

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

It is introduced by commit fd7ed697021d ("drm/amdgpu:
implement initialization part on VCN2.0 for SRIOV"), 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_0.c