summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/tda18271-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/tda18271-common.c')
-rw-r--r--drivers/media/dvb/frontends/tda18271-common.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-common.c b/drivers/media/dvb/frontends/tda18271-common.c
index 4adc7390ba00..d7a335659474 100644
--- a/drivers/media/dvb/frontends/tda18271-common.c
+++ b/drivers/media/dvb/frontends/tda18271-common.c
@@ -601,13 +601,11 @@ int tda18271_calc_rf_cal(struct dvb_frontend *fe, u32 *freq)
unsigned char *regs = priv->tda18271_regs;
u8 val;
- int ret = tda18271_lookup_map(fe, RF_CAL, freq, &val);
- if (ret < 0)
- goto fail;
+ tda18271_lookup_map(fe, RF_CAL, freq, &val);
regs[R_EB14] = val;
-fail:
- return ret;
+
+ return 0;
}
/*