summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/max2165.c
diff options
context:
space:
mode:
authorMax Kellermann <max.kellermann@gmail.com>2016-08-09 18:32:31 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-18 15:07:26 -0200
commit194ced7a5a99b303daf0bca6d0a1697731265602 (patch)
tree076b3607b6ba1ab4a84681bbea9547a1a4ae1e7b /drivers/media/tuners/max2165.c
parent22a613e89825ea7a3984a968463cc6d425bd8856 (diff)
downloadtalos-obmc-linux-194ced7a5a99b303daf0bca6d0a1697731265602.tar.gz
talos-obmc-linux-194ced7a5a99b303daf0bca6d0a1697731265602.zip
[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/tuners/max2165.c')
-rw-r--r--drivers/media/tuners/max2165.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/tuners/max2165.c b/drivers/media/tuners/max2165.c
index 353b178becf6..c3f10925b0d4 100644
--- a/drivers/media/tuners/max2165.c
+++ b/drivers/media/tuners/max2165.c
@@ -370,15 +370,13 @@ static int max2165_init(struct dvb_frontend *fe)
return 0;
}
-static int max2165_release(struct dvb_frontend *fe)
+static void max2165_release(struct dvb_frontend *fe)
{
struct max2165_priv *priv = fe->tuner_priv;
dprintk("%s()\n", __func__);
kfree(priv);
fe->tuner_priv = NULL;
-
- return 0;
}
static const struct dvb_tuner_ops max2165_tuner_ops = {
OpenPOWER on IntegriCloud