[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
szülő 22a613e898
commit 194ced7a5a
20 fájl változott, egészen pontosan 21 új sor hozzáadva és 49 régi sor törölve

Fájl megtekintése

@@ -455,13 +455,12 @@ static int mxl111sf_tuner_get_if_frequency(struct dvb_frontend *fe,
return 0;
}
static int mxl111sf_tuner_release(struct dvb_frontend *fe)
static void mxl111sf_tuner_release(struct dvb_frontend *fe)
{
struct mxl111sf_tuner_state *state = fe->tuner_priv;
mxl_dbg("()");
kfree(state);
fe->tuner_priv = NULL;
return 0;
}
/* ------------------------------------------------------------------------- */