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)
commit2e77541bd17b635f9db834192edff373ac4d5ee3
tree5ed4a25afa6d242fe9304903e858b7477ba71e90
parent562b49fcd02d1b06f2706c31992d2fbfc011a634
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