Skip to content

Commit 05763c9

Browse files
Yuan Cancminyard
authored andcommitted
ipmi: Remove unused struct watcher_entry
After commit e86ee2d("ipmi: Rework locking and shutdown for hot remove"), no one use struct watcher_entry, so remove it. Signed-off-by: Yuan Can <yuancan@huawei.com> Message-Id: <20220927133814.98929-1-yuancan@huawei.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
1 parent 6f65540 commit 05763c9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/char/ipmi/ipmi_msghandler.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -736,12 +736,6 @@ static void intf_free(struct kref *ref)
736736
kfree(intf);
737737
}
738738

739-
struct watcher_entry {
740-
int intf_num;
741-
struct ipmi_smi *intf;
742-
struct list_head link;
743-
};
744-
745739
int ipmi_smi_watcher_register(struct ipmi_smi_watcher *watcher)
746740
{
747741
struct ipmi_smi *intf;

0 commit comments

Comments
 (0)