]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu/dc: remove redundant assignment to variable 'option'
authorColin Ian King <colin.king@canonical.com>
Fri, 24 Apr 2020 11:12:26 +0000 (12:12 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Apr 2020 15:42:11 +0000 (11:42 -0400)
commitf8f4872279b271ec2daf37d64aa50714751eab63
treeedacf369a10fc331d4234586cc7dd035e0ce2740
parent755777003f8af9298cac8f84ed9c9e444e5c6cd5
amdgpu/dc: remove redundant assignment to variable 'option'

The variable option 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/dce110/dce110_opp_csc_v.c