[media] af9033: wrap DVBv3 UCB to DVBv5 UCB stats

Remove 'duplicate' DVBv3 read UCB implementation and return value,
calculated already for DVBv5 statistics.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Antti Palosaari 2014-09-03 23:07:39 -03:00 committed by Mauro Carvalho Chehab
parent 6bb096c926
commit 1d0ceae4a1
1 changed files with 1 additions and 7 deletions

View File

@ -932,14 +932,8 @@ static int af9033_read_ber(struct dvb_frontend *fe, u32 *ber)
static int af9033_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks)
{
struct af9033_dev *dev = fe->demodulator_priv;
int ret;
ret = af9033_update_ch_stat(dev);
if (ret < 0)
return ret;
*ucblocks = dev->ucb;
*ucblocks = dev->error_block_count;
return 0;
}