]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove redundant initialization of variable status
authorColin Ian King <colin.king@canonical.com>
Wed, 3 Mar 2021 14:06:54 +0000 (14:06 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Mar 2021 20:14:02 +0000 (15:14 -0500)
commitbc3004dd60624289024be79555699c7c20d1fd81
tree2a5e8db967ccd5226602b25d68b70294ff640bdc
parent7c50f8460cd16891999762d0db41a12f247ce7c9
drm/amd/display: remove redundant initialization of variable status

The variable status 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/display/dc/dce/dmub_psr.c