提交 ae21e447 编写于 作者: M Michael Ira Krufky 提交者: Mauro Carvalho Chehab

[media] lgdt3306a: fix ERROR: do not use assignment in if condition

Just CodingStyle fix.
Signed-off-by: NMichael Ira Krufky <mkrufky@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 ebd9175e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册