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/dvb-frontends/ascot2e.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/dvb-frontends/ascot2e.c')
-rw-r--r-- | drivers/media/dvb-frontends/ascot2e.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/ascot2e.c b/drivers/media/dvb-frontends/ascot2e.c index ad304eed656d..0ee0df53b91b 100644 --- a/drivers/media/dvb-frontends/ascot2e.c +++ b/drivers/media/dvb-frontends/ascot2e.c @@ -254,14 +254,13 @@ static int ascot2e_init(struct dvb_frontend *fe) return ascot2e_leave_power_save(priv); } -static int ascot2e_release(struct dvb_frontend *fe) +static void ascot2e_release(struct dvb_frontend *fe) { struct ascot2e_priv *priv = fe->tuner_priv; dev_dbg(&priv->i2c->dev, "%s()\n", __func__); kfree(fe->tuner_priv); fe->tuner_priv = NULL; - return 0; } static int ascot2e_sleep(struct dvb_frontend *fe) |