summaryrefslogtreecommitdiff
path: root/include/linux/ipmi_smi.h
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2018-04-05 22:10:08 -0500
committerCorey Minyard <cminyard@mvista.com>2018-04-18 10:23:03 -0500
commit8eb005bf6e58ca08802ac8170e5d3c8486cb2d79 (patch)
tree73a1b72615f8555eaa23c7e4f8a6098f0c7d1cd9 /include/linux/ipmi_smi.h
parentf0258c95304e7712143bddd3a2af53bc9e549a7b (diff)
downloadlwn-8eb005bf6e58ca08802ac8170e5d3c8486cb2d79.tar.gz
lwn-8eb005bf6e58ca08802ac8170e5d3c8486cb2d79.zip
ipmi: Remove usecount function from interfaces
All the users are now gone. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include/linux/ipmi_smi.h')
-rw-r--r--include/linux/ipmi_smi.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/ipmi_smi.h b/include/linux/ipmi_smi.h
index bdcda4741c89..16662b0423bf 100644
--- a/include/linux/ipmi_smi.h
+++ b/include/linux/ipmi_smi.h
@@ -140,15 +140,6 @@ struct ipmi_smi_handlers {
* block.
*/
void (*set_maintenance_mode)(void *send_info, bool enable);
-
- /*
- * Tell the handler that we are using it/not using it. The
- * message handler get the modules that this handler belongs
- * to; this function lets the SMI claim any modules that it
- * uses. These may be NULL if this is not required.
- */
- int (*inc_usecount)(void *send_info);
- void (*dec_usecount)(void *send_info);
};
struct ipmi_device_id {