mirror_ubuntu-kernels/drivers/gpu/drm/amd
yu kuai 2e0db9dec2 drm/amdgpu: remove set but not used variable 'pipe'
Fixes gcc '-Wunused-but-set-variable' warning:

rivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c: In function
‘amdgpu_gfx_graphics_queue_acquire’:
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c:234:16: warning:
variable ‘pipe’ set but not used [-Wunused-but-set-variable]

It is never used, so can be removed.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: yu kuai <yukuai3@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-03 09:11:06 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: remove set but not used variable 'pipe' 2019-10-03 09:11:06 -05:00
amdkfd drm/amdkfd: Improve KFD IOCTL printing 2019-10-03 09:11:05 -05:00
display drm/amdgpu/dm/mst: Use ->atomic_best_encoder 2019-10-03 09:11:05 -05:00
include drm/amd/amdgpu: add IH cg support on soc15 project 2019-10-03 09:11:04 -05:00
powerplay drm/amdgpu: Drop unused variable and statement 2019-10-03 09:11:06 -05:00