OSDN Git Service

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)
commit5edb769131e74defcdf82aeb53701a8895d2d462
tree6ad6441f347c4616605d82c42a663611df9c8dbc
parent43ad9b39b0a3af10ebf8133012898c0a0d991b9b
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