Home
last modified time | relevance | path

Searched hist:b06146b698e6e835253d01901ecf0ab84646591e (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/firmware/
H A Darm_sdei.cdiff b06146b698e6e835253d01901ecf0ab84646591e Tue Sep 22 08:04:19 CDT 2020 Gavin Shan <gshan@redhat.com> firmware: arm_sdei: Remove while loop in sdei_event_unregister()

This removes the unnecessary while loop in sdei_event_unregister()
because of the following two reasons. This shouldn't cause any
functional changes.

* The while loop is executed for once, meaning it's not needed
in theory.
* With the while loop removed, the nested statements can be
avoid to make the code a bit cleaner.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20200922130423.10173-10-gshan@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>