]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove redundant assignment to variable dp_ref_clk_khz
authorColin Ian King <colin.king@canonical.com>
Fri, 10 Apr 2020 11:46:13 +0000 (12:46 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:45 +0000 (18:11 -0400)
commit2e34e2f740781c7b022e760b930b30eee9643f02
tree6ad6441f347c4616605d82c42a663611df9c8dbc
parentdb1092c8ab61205543676cacd5e109c220a5d4cb
drm/amd/display: remove redundant assignment to variable dp_ref_clk_khz

The variable dp_ref_clk_khz 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/clk_mgr/dce100/dce_clk_mgr.c