media: ir-kbd-i2c: remove outdated comments
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 30 Jul 2019 17:55:55 +0000 (14:55 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sun, 4 Aug 2019 09:34:30 +0000 (06:34 -0300)
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>
drivers/media/i2c/ir-kbd-i2c.c

index 876d7587a1daa8a6bf84d196637e0b7aa9f56ded..96932779ca3725c08e0a55b2e946ec5aa1f93b80 100644 (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;
 }