Re: [PATCH] drm/amdgpu: remove set but not used variable 'pipe'

2019-10-02 Thread Alex Deucher
On Mon, Sep 30, 2019 at 3:03 AM yu kuai wrote: > > 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-b

[PATCH] drm/amdgpu: remove set but not used variable 'pipe'

2019-09-29 Thread yu kuai
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