Re: [PATCH] drm/amd/display: remove unused variable res_pool

2023-03-08 Thread Alex Deucher
Applied. Thanks! On Wed, Mar 8, 2023 at 9:10 AM Tom Rix wrote: > > With gcc and W=1, there is this error > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:1214:31: > error: variable ‘res_pool’ set but not used > [-Werror=unused-but-set-variable] > 1214 | struct

[PATCH] drm/amd/display: remove unused variable res_pool

2023-03-08 Thread Tom Rix
With gcc and W=1, there is this error drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:1214:31: error: variable ‘res_pool’ set but not used [-Werror=unused-but-set-variable] 1214 | struct resource_pool *res_pool; | ^~~~ Since