From: Yuan Can Date: Tue, 27 Sep 2022 13:38:14 +0000 (+0000) Subject: ipmi: Remove unused struct watcher_entry X-Git-Tag: v6.6.17~6391^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05763c996f72ef934432639fe412f5193816fd9d;p=platform%2Fkernel%2Flinux-rpi.git ipmi: Remove unused struct watcher_entry After commit e86ee2d44b44("ipmi: Rework locking and shutdown for hot remove"), no one use struct watcher_entry, so remove it. Signed-off-by: Yuan Can Message-Id: <20220927133814.98929-1-yuancan@huawei.com> Signed-off-by: Corey Minyard --- diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index c8a3b20..49a1707 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;