]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11bf1b603c0aba4b9ad3362f7f565ec796f64cd0
tree6b7d469c5401318c73743d60bbe940ba848442b7
parent28beaa26bc92c565c4a2671af638babf25471bf3
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