drm/amd/display: remove unused variable res_pool
authorTom Rix <trix@redhat.com>
Wed, 8 Mar 2023 14:09:43 +0000 (09:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Mar 2023 19:06:01 +0000 (14:06 -0500)
commit3a906a0cb150a872a23f6204449d3f8b50693837
treeb520c1c0b66ab6ac82e003cb7405486a86d7cf95
parent58265640fbd9a57bca521c3d83012fff2cd15fc6
drm/amd/display: remove unused variable res_pool

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 res_pool is unused, remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c