From: Wolfram Sang Date: Mon, 22 Dec 2014 22:18:28 +0000 (+0100) Subject: char: ipmi: Remove obsolete cleanup for clientdata X-Git-Tag: v4.9.8~4753^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb82d90e748660a5386cc8f9fc8300bff163ce5f;p=platform%2Fkernel%2Flinux-rpi3.git char: ipmi: 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: Corey Minyard --- diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c index 982b963..74128e6 100644 --- a/drivers/char/ipmi/ipmi_ssif.c +++ b/drivers/char/ipmi/ipmi_ssif.c @@ -1097,8 +1097,6 @@ static int ssif_remove(struct i2c_client *client) if (!ssif_info) return 0; - i2c_set_clientdata(client, NULL); - /* * After this point, we won't deliver anything asychronously * to the message handler. We can unregister ourself.