]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove redundant initialization of variable result
authorColin Ian King <colin.king@canonical.com>
Thu, 23 Jul 2020 14:36:37 +0000 (15:36 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jul 2020 20:21:11 +0000 (16:21 -0400)
commit314977b3e0e6808b180525b4a187f721dca0d098
treed9815a5d2e9616b10eb8498ff1bfc336d8618d1b
parent68366c952e302a62f388a29d32467d1114107ff6
drm/amd/display: remove redundant initialization of variable result

The variable result 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.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c