Commit d971d42f authored by Colin Ian King's avatar Colin Ian King Committed by Alex Deucher
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent abb17b1e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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