diff options
author | Gavin Shan <gshan@redhat.com> | 2020-09-22 23:04:23 +1000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-09-28 21:52:23 +0100 |
commit | 4b2b76cbbc8ff5dabc18123d94a1125143aea567 (patch) | |
tree | ed7455973cea6983d441d07107dfa58c05097098 /arch/sparc/Kconfig | |
parent | d2fc580d2dcaf92863fbb194d4e70ef1383b92c4 (diff) |
firmware: arm_sdei: Remove _sdei_event_unregister()
_sdei_event_unregister() is called by sdei_event_unregister() and
sdei_device_freeze(). _sdei_event_unregister() covers the shared
and private events, but sdei_device_freeze() only covers the shared
events. So the logic to cover the private events isn't needed by
sdei_device_freeze().
sdei_event_unregister sdei_device_freeze
_sdei_event_unregister sdei_unregister_shared
_sdei_event_unregister
This removes _sdei_event_unregister(). Its logic is moved to its
callers accordingly. This shouldn't cause any logical changes.
Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20200922130423.10173-14-gshan@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/sparc/Kconfig')
0 files changed, 0 insertions, 0 deletions