OSDN Git Service

drm/amdgpu/vcn2.0: remove intermediate variable
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Oct 2021 16:48:22 +0000 (12:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Oct 2021 03:38:53 +0000 (23:38 -0400)
commit7876c7ea14af692cecedb451c3601a20c19fe430
treee37153d0782ba7ac03a11cac2c43a94f2f21d761
parentc5dd5667f4196b5b3b4bc2a83ad795850c08197f
drm/amdgpu/vcn2.0: remove intermediate variable

No need to use the tmp variable, just use the constant
directly.

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