aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-20 06:36:41 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 10:25:59 -0300
commit2b0e1f3afda10dfc33a6bdae07caa24b906d1114 (patch)
treeeb3ef4b51979009a6bce404bd383739d3bf08b4e /drivers/media/dvb-frontends
parent2bf0f93e0d3044478bdd9e3dada19799d34dbfc2 (diff)
downloadvexpress-lsk-2b0e1f3afda10dfc33a6bdae07caa24b906d1114.tar.gz
[media] drxk: remove dummy BER read code
The BER code does nothing but filling it with zero. Remove it. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/drxk_hard.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/media/dvb-frontends/drxk_hard.c b/drivers/media/dvb-frontends/drxk_hard.c
index c2fc7da0d6b..0e40832a9a5 100644
--- a/drivers/media/dvb-frontends/drxk_hard.c
+++ b/drivers/media/dvb-frontends/drxk_hard.c
@@ -6408,21 +6408,6 @@ static int drxk_read_status(struct dvb_frontend *fe, fe_status_t *status)
return 0;
}
-static int drxk_read_ber(struct dvb_frontend *fe, u32 *ber)
-{
- struct drxk_state *state = fe->demodulator_priv;
-
- dprintk(1, "\n");
-
- if (state->m_DrxkState == DRXK_NO_DEV)
- return -ENODEV;
- if (state->m_DrxkState == DRXK_UNINITIALIZED)
- return -EAGAIN;
-
- *ber = 0;
- return 0;
-}
-
static int drxk_read_signal_strength(struct dvb_frontend *fe,
u16 *strength)
{
@@ -6529,7 +6514,6 @@ static struct dvb_frontend_ops drxk_ops = {
.get_tune_settings = drxk_get_tune_settings,
.read_status = drxk_read_status,
- .read_ber = drxk_read_ber,
.read_signal_strength = drxk_read_signal_strength,
.read_snr = drxk_read_snr,
.read_ucblocks = drxk_read_ucblocks,