projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f65540
)
ipmi: Remove unused struct watcher_entry
author
Yuan Can
<yuancan@huawei.com>
Tue, 27 Sep 2022 13:38:14 +0000
(13:38 +0000)
committer
Corey Minyard
<cminyard@mvista.com>
Wed, 28 Sep 2022 11:48:54 +0000
(06:48 -0500)
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 <yuancan@huawei.com>
Message-Id: <
20220927133814
.98929-1-yuancan@huawei.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/ipmi/ipmi_msghandler.c
b/drivers/char/ipmi/ipmi_msghandler.c
index c8a3b208f923e42241120239259ffb2ef8fc391c..49a1707693c9ff6395cd8e880b4c2571418c1cd4 100644
(file)
--- 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;