diff options
| author | Mahati Chamarthy <[email protected]> | 2014-09-27 20:50:17 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-09-28 23:00:27 -0400 |
| commit | a46e43e7dedd062fcde0216093467c26ae431ab3 (patch) | |
| tree | d7904f4d05ba0796b84fd246f31a8ca608a4b882 | |
| parent | 31907c0e5c01af537bd4d1f803aa8d9dae74a579 (diff) | |
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: Mahati Chamarthy <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/staging/media/davinci_vpfe/dm365_isif.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/media/davinci_vpfe/dm365_isif.c b/drivers/staging/media/davinci_vpfe/dm365_isif.c index b942bf73c43f..0d535b062e4e 100644 --- a/drivers/staging/media/davinci_vpfe/dm365_isif.c +++ b/drivers/staging/media/davinci_vpfe/dm365_isif.c @@ -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 || |