summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/hyp/switch.c
diff options
context:
space:
mode:
authorLiguang Zhang <zhangliguang@linux.alibaba.com>2020-02-21 16:35:09 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2020-02-27 17:14:18 +0000
commitf7d5ef0c654e827ba09e6eaadabc5a121c8a1cf4 (patch)
tree2a433ccf1f30bba1514e36b7466b50cc90cb64cc /arch/arm64/kvm/hyp/switch.c
parent54f529a6806c9710947a4f2cdc15d6ea54121ccd (diff)
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: Liguang Zhang <zhangliguang@linux.alibaba.com> [expanded commit message] Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kvm/hyp/switch.c')
0 files changed, 0 insertions, 0 deletions