mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
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>
This commit is contained in:
parent
2fcaf60ca0
commit
bb82d90e74
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user