projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a313dec
)
ipmi: Remove condition on interface shutdown
author
Corey Minyard
<cminyard@mvista.com>
Fri, 6 Apr 2018 03:07:33 +0000
(22:07 -0500)
committer
Corey Minyard
<cminyard@mvista.com>
Wed, 18 Apr 2018 15:23:01 +0000
(10:23 -0500)
Now that the interfaces have shutdown handlers, this no longer
needs to be conditional.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c
patch
|
blob
|
history
diff --git
a/drivers/char/ipmi/ipmi_msghandler.c
b/drivers/char/ipmi/ipmi_msghandler.c
index
a27b50a
..
7ddadab
100644
(file)
--- a/
drivers/char/ipmi/ipmi_msghandler.c
+++ b/
drivers/char/ipmi/ipmi_msghandler.c
@@
-3744,8
+3744,7
@@
int ipmi_unregister_smi(struct ipmi_smi *intf)
}
srcu_read_unlock(&intf->users_srcu, index);
- if (intf->handlers->shutdown)
- intf->handlers->shutdown(intf->send_info);
+ intf->handlers->shutdown(intf->send_info);
cleanup_smi_msgs(intf);