diff options
author | Max Kellermann <max.kellermann@gmail.com> | 2016-08-09 23:32:31 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-18 18:07:26 +0100 |
commit | 194ced7a5a99b303daf0bca6d0a1697731265602 (patch) | |
tree | 076b3607b6ba1ab4a84681bbea9547a1a4ae1e7b /drivers/media/tuners/mxl5005s.c | |
parent | [media] dvb_frontend: merge duplicate dvb_tuner_ops.release implementations (diff) | |
download | linux-194ced7a5a99b303daf0bca6d0a1697731265602.tar.xz 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/mxl5005s.c')
-rw-r--r-- | drivers/media/tuners/mxl5005s.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/tuners/mxl5005s.c b/drivers/media/tuners/mxl5005s.c index 92a3be4fde87..353744fee053 100644 --- a/drivers/media/tuners/mxl5005s.c +++ b/drivers/media/tuners/mxl5005s.c @@ -4063,12 +4063,11 @@ static int mxl5005s_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) return 0; } -static int mxl5005s_release(struct dvb_frontend *fe) +static void mxl5005s_release(struct dvb_frontend *fe) { dprintk(1, "%s()\n", __func__); kfree(fe->tuner_priv); fe->tuner_priv = NULL; - return 0; } static const struct dvb_tuner_ops mxl5005s_tuner_ops = { |