forked from Minki/linux
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:
parent
ab1cbdf159
commit
b3185ab502
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user