[PATCH v4 13/15] drivers/firmware/sdei: Remove _sdei_event_unregister()

James Morse james.morse at arm.com
Fri Sep 18 12:14:49 EDT 2020


Hi Gavin,

On 30/07/2020 02:45, Gavin Shan wrote:
> _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 logicial changes.

(logical)


Reviewed-by: James Morse <james.morse at arm.com>


Thanks

James



More information about the linux-arm-kernel mailing list