[media] staging: media: bcm2048: Remove obsolete cleanup for clientdata
authorWolfram Sang <wsa@the-dreams.de>
Mon, 22 Dec 2014 22:18:29 +0000 (19:18 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 27 Jan 2015 12:11:40 +0000 (10:11 -0200)
A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit or error. This is obsolete meanwhile, the core will do it.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/bcm2048/radio-bcm2048.c

index 60a57b2..4d5e2f4 100644 (file)
@@ -2699,8 +2699,6 @@ static int __exit bcm2048_i2c_driver_remove(struct i2c_client *client)
                kfree(bdev);
        }
 
-       i2c_set_clientdata(client, NULL);
-
        return 0;
 }