This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/media_tree.git tree:

Subject: [media] lgdt3306a: fix ERROR: do not use assignment in if condition
Author:  Michael Ira Krufky <mkru...@linuxtv.org>
Date:    Sun Aug 3 15:18:23 2014 -0300

Just CodingStyle fix.

Signed-off-by: Michael Ira Krufky <mkru...@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mche...@osg.samsung.com>

 drivers/media/dvb-frontends/lgdt3306a.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=ae21e447773f17b61014c286ed5e0fc3db874df6

diff --git a/drivers/media/dvb-frontends/lgdt3306a.c 
b/drivers/media/dvb-frontends/lgdt3306a.c
index 3451e77..91d9862 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;

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to