summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/lgdt3306a.c
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>2015-03-03 10:34:09 -0300
commitae21e447773f17b61014c286ed5e0fc3db874df6 (patch)
treecbbc0ee3efb7fa7043ccde6e957473ef5c31939d /drivers/media/dvb-frontends/lgdt3306a.c
parentebd9175ea4c0b818cf14ef1074b5d5a93e57916a (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>
Diffstat (limited to 'drivers/media/dvb-frontends/lgdt3306a.c')
-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;