aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ira Krufky <mkrufky@linuxtv.org>2014-08-03 15:18:23 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 10:37:44 -0200
commit701b997e5c19fccf82a79d38f4d7e2dcbf244c88 (patch)
tree43130895d633255c3a62b00e85132d5f1c169baa
parent13d618737de7600529794e61fab043c22e1758af (diff)
[media] lgdt3306a: fix ERROR: do not use assignment in if condition
Just CodingStyle fix. Signed-off-by: Michael Ira Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/dvb-frontends/lgdt3306a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/lgdt3306a.c b/drivers/media/dvb-frontends/lgdt3306a.c
index 3451e77a2771..91d986297e02 100644
--- a/drivers/media/dvb-frontends/lgdt3306a.c
+++ b/drivers/media/dvb-frontends/lgdt3306a.c
@@ -1600,7 +1600,8 @@ static int lgdt3306a_tune(struct dvb_frontend *fe, bool re_tune, unsigned int mo
if (re_tune) {
state->current_frequency = -1; /* force re-tune */
- if ((ret = lgdt3306a_set_parameters(fe)) != 0)
+ ret = lgdt3306a_set_parameters(fe);
+ if (ret != 0)
return ret;
}
*delay = 125;

Privacy Policy