Skip to content

Commit

Permalink
char: ipmi: Remove obsolete cleanup for clientdata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wolfram Sang authored and Corey Minyard committed Feb 20, 2015
1 parent 2fcaf60 commit bb82d90
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/char/ipmi/ipmi_ssif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bb82d90

Please sign in to comment.