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)
commitd0c048560a041789d64f95dcb18be11040b3be9b
tree2a5e8db967ccd5226602b25d68b70294ff640bdc
parent864f8b848bab8af73955c82be0d6b48e2ae51b6b
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