Skip to content
Commit 3ff0bfca authored by Liguang Zhang's avatar Liguang Zhang Committed by James Morse
Browse files

firmware: arm_sdei: clean up sdei_event_create()



Function sdei_event_find() is always called in sdei_event_create(), but
it is already called in sdei_event_register(). This code is trying to
avoid a double-create of the same event, which can't happen as we still
hold the sdei_events_lock. We can remove this needless sdei_event_find()
call.

Signed-off-by: default avatarLiguang Zhang <zhangliguang@linux.alibaba.com>
[expanded commit message]
Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent 53ba021f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment