Commit 05763c99 authored by Yuan Can's avatar Yuan Can Committed by Corey Minyard

ipmi: Remove unused struct watcher_entry

After commit e86ee2d4("ipmi: Rework locking and shutdown for hot remove"),
no one use struct watcher_entry, so remove it.
Signed-off-by: default avatarYuan Can <yuancan@huawei.com>
Message-Id: <20220927133814.98929-1-yuancan@huawei.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 6f65540b
...@@ -736,12 +736,6 @@ static void intf_free(struct kref *ref) ...@@ -736,12 +736,6 @@ static void intf_free(struct kref *ref)
kfree(intf); 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) int ipmi_smi_watcher_register(struct ipmi_smi_watcher *watcher)
{ {
struct ipmi_smi *intf; struct ipmi_smi *intf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment