summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/tda18271c2dd.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-11-23 11:19:19 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-13 14:18:39 +0100
commit2ddc125de832f4d8e1820dc923cb2029170beea0 (patch)
treed03673d2e461454552aa506fa94d7d63d32c7fc7 /drivers/media/dvb-frontends/tda18271c2dd.c
parentmedia: dib0700: add support for Xbox One Digital TV Tuner (diff)
downloadlinux-2ddc125de832f4d8e1820dc923cb2029170beea0.tar.xz
linux-2ddc125de832f4d8e1820dc923cb2029170beea0.zip
media: dvb_frontend: remove redundant status self assignment
The assignment status to itself is redundant and can be removed. Detected with Coccinelle. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/tda18271c2dd.c')
-rw-r--r--drivers/media/dvb-frontends/tda18271c2dd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/tda18271c2dd.c b/drivers/media/dvb-frontends/tda18271c2dd.c
index 2d2778be2d2f..45cd5ba0cf8a 100644
--- a/drivers/media/dvb-frontends/tda18271c2dd.c
+++ b/drivers/media/dvb-frontends/tda18271c2dd.c
@@ -674,7 +674,6 @@ static int PowerScan(struct tda_state *state,
Count = 200000;
wait = true;
}
- status = status;
if (status < 0)
break;
if (CID_Gain >= CID_Target) {