From: Corey Minyard Date: Fri, 6 Apr 2018 03:10:08 +0000 (-0500) Subject: ipmi: Remove usecount function from interfaces X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8eb005bf6e58ca08802ac8170e5d3c8486cb2d79;p=linux.git ipmi: Remove usecount function from interfaces All the users are now gone. Signed-off-by: Corey Minyard --- diff --git a/include/linux/ipmi_smi.h b/include/linux/ipmi_smi.h index bdcda4741c899..16662b0423bfe 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 {