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>
This commit is contained in:
committed by
Alex Deucher
parent
abb17b1edf
commit
d971d42f06
@@ -679,8 +679,7 @@ void dce110_opp_v_set_csc_default(
|
||||
if (default_adjust->force_hw_default == false) {
|
||||
const struct out_csc_color_matrix *elm;
|
||||
/* currently parameter not in use */
|
||||
enum grph_color_adjust_option option =
|
||||
GRPH_COLOR_MATRIX_HW_DEFAULT;
|
||||
enum grph_color_adjust_option option;
|
||||
uint32_t i;
|
||||
/*
|
||||
* HW default false we program locally defined matrix
|
||||
|
||||
Reference in New Issue
Block a user