drm/amdgpu/vcn3.0: remove intermediate variable
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Oct 2021 16:51:33 +0000 (12:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Oct 2021 03:38:57 +0000 (23:38 -0400)
commit47be978be0e6010479c13e30c80124d47f8b97a3
tree6b7d469c5401318c73743d60bbe940ba848442b7
parent7876c7ea14af692cecedb451c3601a20c19fe430
drm/amdgpu/vcn3.0: remove intermediate variable

No need to use the id variable, just use the constant
plus instance offset directly.

Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c