char: ipmi: Remove obsolete cleanup for clientdata
authorWolfram Sang <wsa@the-dreams.de>
Mon, 22 Dec 2014 22:18:28 +0000 (23:18 +0100)
committerCorey Minyard <cminyard@mvista.com>
Fri, 20 Feb 2015 01:54:50 +0000 (19:54 -0600)
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: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_ssif.c

index 982b96323f823b8402ede2ceec7c0cb85c042ec4..74128e6ec77ae6a9f812b67b57720bffa45532ce 100644 (file)
@@ -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.