Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a46e43e7 authored by Mahati Chamarthy's avatar Mahati Chamarthy Committed by Greg Kroah-Hartman
Browse files

Staging: media: davinci_vpfe: Remove unused variable



This patch removes a variable which has never been used. The following
Coccinelle semantic patch was used to make this transformation:

@@
type T;
identifier i;
constant C;
@@

- T i;
  <... when != i
- i = C;
  ...>

Signed-off-by: default avatarMahati Chamarthy <mahati.chamarthy@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 31907c0e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -440,14 +440,12 @@ static int isif_validate_df_csc_params(struct vpfe_isif_df_csc *df_csc)
{
	struct vpfe_isif_color_space_conv *csc;
	int err = -EINVAL;
	int csc_df_en;
	int i;

	if (!df_csc->df_or_csc) {
		/* csc configuration */
		csc = &df_csc->csc;
		if (csc->en) {
			csc_df_en = 1;
			for (i = 0; i < VPFE_ISIF_CSC_NUM_COEFF; i++)
				if (csc->coeff[i].integer >
				    ISIF_CSC_COEF_INTEG_MASK ||