drm/amdgpu: remove set but not used variable 'pipe'
authoryu kuai <yukuai3@huawei.com>
Sun, 29 Sep 2019 12:38:43 +0000 (20:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:06 +0000 (09:11 -0500)
commit2e0db9dec25f8d60acb61ddc1a48cbbcabdbdd19
tree25df91feeb4786be660202db64f19f7f90bf7369
parent36e255dd8ffd0aa1a73874740180870519aef37c
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c