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

Subject: [media] opera1: fix ERROR: do not use assignment in if condition
Author:  Michael Krufky <[email protected]>
Date:    Sat Sep 17 15:03:26 2011 -0300

Signed-off-by: Michael Krufky <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/dvb/dvb-usb/opera1.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=ee03a6795e6a303e498e1c87e1e5d3702258e329

diff --git a/drivers/media/dvb/dvb-usb/opera1.c 
b/drivers/media/dvb/dvb-usb/opera1.c
index b6e12f9..98fd9a6 100644
--- a/drivers/media/dvb/dvb-usb/opera1.c
+++ b/drivers/media/dvb/dvb-usb/opera1.c
@@ -263,9 +263,9 @@ static struct stv0299_config opera1_stv0299_config = {
 
 static int opera1_frontend_attach(struct dvb_usb_adapter *d)
 {
-       if ((d->fe_adap[0].fe =
-            dvb_attach(stv0299_attach, &opera1_stv0299_config,
-                       &d->dev->i2c_adap)) != NULL) {
+       d->fe_adap[0].fe = dvb_attach(stv0299_attach, &opera1_stv0299_config,
+                                     &d->dev->i2c_adap);
+       if ((d->fe_adap[0].fe) != NULL) {
                d->fe_adap[0].fe->ops.set_voltage = opera1_set_voltage;
                return 0;
        }

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to