summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2018-04-11 12:41:33 -0500
committerCorey Minyard <cminyard@mvista.com>2018-04-18 10:23:05 -0500
commit6a0d23ed338ed7015128378e0ceec03eaa3d91e2 (patch)
treed9d8faec07875906e6ed3665a3c1714b3df2dd82 /include
parente56710d26eba07abca34c39c50e02e854436000a (diff)
ipmi: ipmi_unregister_smi() cannot fail, have it return void
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipmi_smi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ipmi_smi.h b/include/linux/ipmi_smi.h
index 16662b0423bf..26ba57c307f0 100644
--- a/include/linux/ipmi_smi.h
+++ b/include/linux/ipmi_smi.h
@@ -220,7 +220,7 @@ int ipmi_register_smi(const struct ipmi_smi_handlers *handlers,
* Remove a low-level interface from the IPMI driver. This will
* return an error if the interface is still in use by a user.
*/
-int ipmi_unregister_smi(ipmi_smi_t intf);
+void ipmi_unregister_smi(ipmi_smi_t intf);
/*
* The lower layer reports received messages through this interface.