From c8bdf761888f696dfba7e83a93416c895447ae59 Mon Sep 17 00:00:00 2001 From: Stricted Date: Sat, 19 Jun 2021 22:54:21 +0000 Subject: [PATCH] amlogic: film_mode_fmw: Fix self assign warning Change-Id: I237fb28693706c491a3f2ea4b09730bb705a7c8c --- drivers/amlogic/media/deinterlace/film_mode_fmw/film_fw1.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/amlogic/media/deinterlace/film_mode_fmw/film_fw1.c b/drivers/amlogic/media/deinterlace/film_mode_fmw/film_fw1.c index 5fc5d13bb13c..d074a48aa067 100644 --- a/drivers/amlogic/media/deinterlace/film_mode_fmw/film_fw1.c +++ b/drivers/amlogic/media/deinterlace/film_mode_fmw/film_fw1.c @@ -858,7 +858,6 @@ int Flm32DetSft(struct sFlmDatSt *pRDat, int *nDif02, nFlgChk4 = nDif02[HISDIFNUM - 1] - nDif02[HISDIFNUM - 6]; if (nFlgChk4 < 0) nFlgChk4 = -nFlgChk4; - nFlgChk4 = nFlgChk4; nMean = (nDif02[HISDIFNUM - 1] + nDif01[HISDIFNUM - 6]) / 2; nFlgChk4 = nflagch4_ratio * nFlgChk4 / nMean; } else { -- 2.20.1