aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/drxd_hard.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-11-23 05:19:19 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-13 08:18:39 -0500
commit2ddc125de832f4d8e1820dc923cb2029170beea0 (patch)
treed03673d2e461454552aa506fa94d7d63d32c7fc7 /drivers/media/dvb-frontends/drxd_hard.c
parentmedia: dib0700: add support for Xbox One Digital TV Tuner (diff)
downloadlinux-dev-2ddc125de832f4d8e1820dc923cb2029170beea0.tar.xz
linux-dev-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/drxd_hard.c')
-rw-r--r--drivers/media/dvb-frontends/drxd_hard.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/dvb-frontends/drxd_hard.c b/drivers/media/dvb-frontends/drxd_hard.c
index 3215d003b2a1..087350ec8712 100644
--- a/drivers/media/dvb-frontends/drxd_hard.c
+++ b/drivers/media/dvb-frontends/drxd_hard.c
@@ -2138,7 +2138,6 @@ static int DRX_Start(struct drxd_state *state, s32 off)
}
break;
}
- status = status;
if (status < 0)
break;
@@ -2249,7 +2248,6 @@ static int DRX_Start(struct drxd_state *state, s32 off)
break;
}
- status = status;
if (status < 0)
break;
@@ -2316,7 +2314,6 @@ static int DRX_Start(struct drxd_state *state, s32 off)
}
break;
}
- status = status;
if (status < 0)
break;