From: Wolfram Sang Date: Tue, 30 Jul 2019 17:55:55 +0000 (-0300) Subject: media: ir-kbd-i2c: remove outdated comments X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b3185ab502749539872402b6e7198c5229ff20d6;p=linux.git 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 Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/ir-kbd-i2c.c b/drivers/media/i2c/ir-kbd-i2c.c index 876d7587a1daa..96932779ca372 100644 --- a/drivers/media/i2c/ir-kbd-i2c.c +++ b/drivers/media/i2c/ir-kbd-i2c.c @@ -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; }