ipmi: Remove usecount function from interfaces
authorCorey Minyard <cminyard@mvista.com>
Fri, 6 Apr 2018 03:10:08 +0000 (22:10 -0500)
committerCorey Minyard <cminyard@mvista.com>
Wed, 18 Apr 2018 15:23:03 +0000 (10:23 -0500)
All the users are now gone.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
include/linux/ipmi_smi.h

index bdcda47..16662b0 100644 (file)
@@ -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 {