drm/amd/display: remove duplicated assignment to grph_obj_type
authorColin Ian King <colin.king@canonical.com>
Fri, 8 Nov 2019 14:45:27 +0000 (14:45 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:44 +0000 (15:29 -0500)
commitd785476c608c621b345dd9396e8b21e90375cb0e
tree523e6b4ddb4dc1970fbfc355527f0dc8010a5e63
parente98042db2cb8d0b728cd76e05b9c2e1c84b7f72b
drm/amd/display: remove duplicated assignment to grph_obj_type

Variable grph_obj_type is being assigned twice, one of these is
redundant so remove it.

Addresses-Coverity: ("Evaluation order violation")
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_atombios.c