summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/cx24113.c
diff options
context:
space:
mode:
authorMax Kellermann <max.kellermann@gmail.com>2016-08-10 00:32:31 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-18 20:07:26 +0300
commit194ced7a5a99b303daf0bca6d0a1697731265602 (patch)
tree076b3607b6ba1ab4a84681bbea9547a1a4ae1e7b /drivers/media/dvb-frontends/cx24113.c
parent22a613e89825ea7a3984a968463cc6d425bd8856 (diff)
downloadlinux-194ced7a5a99b303daf0bca6d0a1697731265602.tar.xz
[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>
Diffstat (limited to 'drivers/media/dvb-frontends/cx24113.c')
-rw-r--r--drivers/media/dvb-frontends/cx24113.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/cx24113.c b/drivers/media/dvb-frontends/cx24113.c
index 3812ef8cac08..db44ebb7c561 100644
--- a/drivers/media/dvb-frontends/cx24113.c
+++ b/drivers/media/dvb-frontends/cx24113.c
@@ -527,13 +527,12 @@ static int cx24113_get_frequency(struct dvb_frontend *fe, u32 *frequency)
return 0;
}
-static int cx24113_release(struct dvb_frontend *fe)
+static void cx24113_release(struct dvb_frontend *fe)
{
struct cx24113_state *state = fe->tuner_priv;
dprintk("\n");
fe->tuner_priv = NULL;
kfree(state);
- return 0;
}
static const struct dvb_tuner_ops cx24113_tuner_ops = {