Re: [PATCH -next] drm/amdgpu: remove set but not used variable 'psp_enabled'

2019-08-21 Thread Alex Deucher
Applied. thanks! Alex On Thu, Jun 27, 2019 at 10:29 AM YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/gpu/drm/amd/amdgpu/nv.c: In function 'nv_common_early_init': > drivers/gpu/drm/amd/amdgpu/nv.c:471:7: warning: > variable 'psp_enabled' set but not used [-Wun

[PATCH -next] drm/amdgpu: remove set but not used variable 'psp_enabled'

2019-06-27 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/nv.c: In function 'nv_common_early_init': drivers/gpu/drm/amd/amdgpu/nv.c:471:7: warning: variable 'psp_enabled' set but not used [-Wunused-but-set-variable] It's not used since inroduction in commit c6b6a42175f5 ("drm/amd