]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove redundant assignment to pointer write_frame
authorColin Ian King <colin.king@canonical.com>
Thu, 21 Nov 2019 16:54:01 +0000 (16:54 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2019 19:27:11 +0000 (14:27 -0500)
commit2e02cdc63cbf25547fd81e0b7f43578ebc9ff007
tree5ed4a25afa6d242fe9304903e858b7477ba71e90
parent03e1632c1fa67f066bdc5bb1e799d6d265dddcb2
drm/amdgpu: remove redundant assignment to pointer write_frame

The pointer write_frame is being initialized with a value that is
never read and it is being updated later with a new value. The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c