[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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
22a613e898
commit
194ced7a5a
@@ -56,7 +56,7 @@ struct ts2020_reg_val {
|
||||
|
||||
static void ts2020_stat_work(struct work_struct *work);
|
||||
|
||||
static int ts2020_release(struct dvb_frontend *fe)
|
||||
static void ts2020_release(struct dvb_frontend *fe)
|
||||
{
|
||||
struct ts2020_priv *priv = fe->tuner_priv;
|
||||
struct i2c_client *client = priv->client;
|
||||
@@ -64,7 +64,6 @@ static int ts2020_release(struct dvb_frontend *fe)
|
||||
dev_dbg(&client->dev, "\n");
|
||||
|
||||
i2c_unregister_device(client);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int ts2020_sleep(struct dvb_frontend *fe)
|
||||
|
Reference in New Issue
Block a user