diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-12-22 22:18:28 (GMT) |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2015-02-20 01:54:50 (GMT) |
commit | bb82d90e748660a5386cc8f9fc8300bff163ce5f (patch) | |
tree | 0ee9775f7e98723766c36da3b888a3afad44e5ce /drivers/char | |
parent | 2fcaf60ca07b0db5f8824a368bf890122c3db86a (diff) | |
download | linux-bb82d90e748660a5386cc8f9fc8300bff163ce5f.tar.xz |
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 <wsa@the-dreams.de>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/ipmi/ipmi_ssif.c | 2 |
1 files changed, 0 insertions, 2 deletions
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. |