diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-07-30 19:55:55 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-08-04 11:34:30 +0200 |
commit | b3185ab502749539872402b6e7198c5229ff20d6 (patch) | |
tree | 8831f62b1e93d0fc816141d151cdcf2dc4b1975c /drivers/media/i2c/ir-kbd-i2c.c | |
parent | media: iguanair: add sanity checks (diff) | |
download | linux-b3185ab502749539872402b6e7198c5229ff20d6.tar.xz linux-b3185ab502749539872402b6e7198c5229ff20d6.zip |
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>
Diffstat (limited to 'drivers/media/i2c/ir-kbd-i2c.c')
-rw-r--r-- | drivers/media/i2c/ir-kbd-i2c.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/i2c/ir-kbd-i2c.c b/drivers/media/i2c/ir-kbd-i2c.c index 876d7587a1da..96932779ca37 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; } |