[media] dvb_frontend: tuner_ops.release returns void

It is not clear what this return value means.  All implemenations
return 0, and the one caller ignores the value.  Let's remove this
useless return value completely.

Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Max Kellermann
2016-08-09 18:32:31 -03:00
committed by Mauro Carvalho Chehab
parent 22a613e898
commit 194ced7a5a
20 changed files with 21 additions and 49 deletions

View File

@@ -2286,7 +2286,7 @@ static int r820t_get_if_frequency(struct dvb_frontend *fe, u32 *frequency)
return 0;
}
static int r820t_release(struct dvb_frontend *fe)
static void r820t_release(struct dvb_frontend *fe)
{
struct r820t_priv *priv = fe->tuner_priv;
@@ -2300,8 +2300,6 @@ static int r820t_release(struct dvb_frontend *fe)
mutex_unlock(&r820t_list_mutex);
fe->tuner_priv = NULL;
return 0;
}
static const struct dvb_tuner_ops r820t_tuner_ops = {