On Tue, Sep 27, 2022 at 01:38:14PM +0000, Yuan Can wrote:
> After commit e86ee2d44b44("ipmi: Rework locking and shutdown for hot remove"),
> no one use struct watcher_entry, so remove it.

Thanks, got it.

-corey

> 
> Signed-off-by: Yuan Can <yuan...@huawei.com>
> ---
>  drivers/char/ipmi/ipmi_msghandler.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/char/ipmi/ipmi_msghandler.c 
> b/drivers/char/ipmi/ipmi_msghandler.c
> index c8a3b208f923..49a1707693c9 100644
> --- a/drivers/char/ipmi/ipmi_msghandler.c
> +++ b/drivers/char/ipmi/ipmi_msghandler.c
> @@ -736,12 +736,6 @@ static void intf_free(struct kref *ref)
>       kfree(intf);
>  }
>  
> -struct watcher_entry {
> -     int              intf_num;
> -     struct ipmi_smi  *intf;
> -     struct list_head link;
> -};
> -
>  int ipmi_smi_watcher_register(struct ipmi_smi_watcher *watcher)
>  {
>       struct ipmi_smi *intf;
> -- 
> 2.17.1
> 


_______________________________________________
Openipmi-developer mailing list
Openipmi-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to