From: Heinrich Schuchardt Date: Sun, 27 Dec 2020 23:25:34 +0000 (+0100) Subject: efi_loader: event queueing X-Git-Tag: v2025.01-rc5-pxa1908~2072^2~3^2~14 X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=b7d186f07168eca28ca0719a0fc13fb21a97b6e7;p=u-boot.git efi_loader: event queueing When a new event is queued we have to process the event queue by calling efi_process_event_queue(). But there is not reason to call the function when the event is not queueable. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index b799fcf1f2..b2cb0160c0 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -247,8 +247,8 @@ static void efi_queue_event(struct efi_event *event) } if (event) list_add_tail(&event->queue_link, &efi_event_queue); + efi_process_event_queue(); } - efi_process_event_queue(); } /**