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] tda10071: remove a duplicative test
Author:  Dan Carpenter <[email protected]>
Date:    Thu Jan 30 09:00:34 2014 -0300

"ret" is an error code here, we already tested that.

Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Antti Palosaari <[email protected]>
Reviewed-by: Antti Palosaari <[email protected]>
Signed-off-by: Antti Palosaari <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

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

---

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

diff --git a/drivers/media/dvb-frontends/tda10071.c 
b/drivers/media/dvb-frontends/tda10071.c
index 8ad3a57..a76df29 100644
--- a/drivers/media/dvb-frontends/tda10071.c
+++ b/drivers/media/dvb-frontends/tda10071.c
@@ -1006,8 +1006,7 @@ static int tda10071_init(struct dvb_frontend *fe)
                                dev_err(&priv->i2c->dev, "%s: firmware " \
                                                "download failed=%d\n",
                                                KBUILD_MODNAME, ret);
-                               if (ret)
-                                       goto error_release_firmware;
+                               goto error_release_firmware;
                        }
                }
                release_firmware(fw);

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

Reply via email to