]> 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)
commit08ddb912a2d21609754b2daeacfca9443b669cda
tree6b7d469c5401318c73743d60bbe940ba848442b7
parent6fad7168e64c49334a1669166f0f9958cbd0499e
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