projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fcaf60
)
char: ipmi: Remove obsolete cleanup for clientdata
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 22 Dec 2014 22:18:28 +0000
(23:18 +0100)
committer
Corey 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/ipmi/ipmi_ssif.c
b/drivers/char/ipmi/ipmi_ssif.c
index 982b96323f823b8402ede2ceec7c0cb85c042ec4..74128e6ec77ae6a9f812b67b57720bffa45532ce 100644
(file)
--- 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.