summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/tda10045h.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda10045h.c b/linux/drivers/media/dvb/frontends/tda10045h.c
index 3439bd4c7..2ae1d0fff 100644
--- a/linux/drivers/media/dvb/frontends/tda10045h.c
+++ b/linux/drivers/media/dvb/frontends/tda10045h.c
@@ -371,11 +371,7 @@ int tda10045h_init(struct dvb_i2c_bus *i2c)
tuner_msg.buf = disable_mc44BC374c;
tuner_msg.len = sizeof(disable_mc44BC374c);
if (i2c->xfer(i2c, &tuner_msg, 1) != 1) {
- if (i2c->xfer(i2c, &tuner_msg, 1) != 1) {
- if (firmware)
- vfree(firmware);
- return -EIO;
- }
+ i2c->xfer(i2c, &tuner_msg, 1);
}
tda10045h_disable_tuner_i2c(i2c);