diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-09 10:53:35 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-04 11:11:46 -0400 |
commit | ea2d7611faa2bd4e4c1658cc4457ed238c5af5de (patch) | |
tree | 6b99f6c276dead433576798c247150fb959ae378 /drivers/media/dvb-frontends | |
parent | 19bdd0d661fcc53e59699c9dc51e2622370f99ec (diff) |
media: lgdt330x: get rid of read_ber stub
This routine does nothing. Remove it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r-- | drivers/media/dvb-frontends/lgdt330x.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/dvb-frontends/lgdt330x.c b/drivers/media/dvb-frontends/lgdt330x.c index 75b9ae6583e8..b430b0500f12 100644 --- a/drivers/media/dvb-frontends/lgdt330x.c +++ b/drivers/media/dvb-frontends/lgdt330x.c @@ -300,12 +300,6 @@ static int lgdt330x_init(struct dvb_frontend *fe) return lgdt330x_sw_reset(state); } -static int lgdt330x_read_ber(struct dvb_frontend *fe, u32 *ber) -{ - *ber = 0; /* Not supplied by the demod chips */ - return 0; -} - static int lgdt330x_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) { struct lgdt330x_state *state = fe->demodulator_priv; @@ -909,7 +903,6 @@ static const struct dvb_frontend_ops lgdt3302_ops = { .get_frontend = lgdt330x_get_frontend, .get_tune_settings = lgdt330x_get_tune_settings, .read_status = lgdt3302_read_status, - .read_ber = lgdt330x_read_ber, .read_signal_strength = lgdt330x_read_signal_strength, .read_snr = lgdt330x_read_snr, .read_ucblocks = lgdt330x_read_ucblocks, @@ -932,7 +925,6 @@ static const struct dvb_frontend_ops lgdt3303_ops = { .get_frontend = lgdt330x_get_frontend, .get_tune_settings = lgdt330x_get_tune_settings, .read_status = lgdt3303_read_status, - .read_ber = lgdt330x_read_ber, .read_signal_strength = lgdt330x_read_signal_strength, .read_snr = lgdt330x_read_snr, .read_ucblocks = lgdt330x_read_ucblocks, |