From: Wolfram Sang Date: Mon, 22 Dec 2014 22:18:29 +0000 (-0300) Subject: [media] staging: media: bcm2048: Remove obsolete cleanup for clientdata X-Git-Tag: Ubuntu-5.13.0-19.19~18547^2~206 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=36eb6c41ce499c88719702be2dd86869eae5264d;p=mirror_ubuntu-jammy-kernel.git [media] staging: media: bcm2048: Remove obsolete cleanup for clientdata 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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c index 60a57b2a8fb2..4d5e2f400ff6 100644 --- a/drivers/staging/media/bcm2048/radio-bcm2048.c +++ b/drivers/staging/media/bcm2048/radio-bcm2048.c @@ -2699,8 +2699,6 @@ static int __exit bcm2048_i2c_driver_remove(struct i2c_client *client) kfree(bdev); } - i2c_set_clientdata(client, NULL); - return 0; }