media: ir-kbd-i2c: remove outdated comments

The "free memory" comment is obsolete since 2013 and the other ones
explain the obvious. Just remove the comments.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Wolfram Sang 2019-07-30 14:55:55 -03:00 committed by Mauro Carvalho Chehab
parent ab1cbdf159
commit b3185ab502

View File

@ -916,16 +916,13 @@ static int ir_remove(struct i2c_client *client)
{
struct IR_i2c *ir = i2c_get_clientdata(client);
/* kill outstanding polls */
cancel_delayed_work_sync(&ir->work);
if (ir->tx_c)
i2c_unregister_device(ir->tx_c);
/* unregister device */
rc_unregister_device(ir->rc);
/* free memory */
return 0;
}