diff options
author | Max Kellermann <max.kellermann@gmail.com> | 2016-08-10 00:32:31 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-18 20:07:26 +0300 |
commit | 194ced7a5a99b303daf0bca6d0a1697731265602 (patch) | |
tree | 076b3607b6ba1ab4a84681bbea9547a1a4ae1e7b /drivers/media/tuners/mxl5007t.c | |
parent | 22a613e89825ea7a3984a968463cc6d425bd8856 (diff) | |
download | linux-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/tuners/mxl5007t.c')
-rw-r--r-- | drivers/media/tuners/mxl5007t.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/tuners/mxl5007t.c b/drivers/media/tuners/mxl5007t.c index 42569c6811e6..b16dfa5e85fb 100644 --- a/drivers/media/tuners/mxl5007t.c +++ b/drivers/media/tuners/mxl5007t.c @@ -776,7 +776,7 @@ static int mxl5007t_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) return 0; } -static int mxl5007t_release(struct dvb_frontend *fe) +static void mxl5007t_release(struct dvb_frontend *fe) { struct mxl5007t_state *state = fe->tuner_priv; @@ -788,8 +788,6 @@ static int mxl5007t_release(struct dvb_frontend *fe) mutex_unlock(&mxl5007t_list_mutex); fe->tuner_priv = NULL; - - return 0; } /* ------------------------------------------------------------------------- */ |