aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt2020-12-28 00:25:34 +0100
committerHeinrich Schuchardt2020-12-31 14:33:32 +0100
commitb7d186f07168eca28ca0719a0fc13fb21a97b6e7 (patch)
tree0227664ed09e5bf7f5641c9d9eca373560b8f84e /lib
parentfe179d7fb5c10d8a4e299af06c766f47f2c8d51a (diff)
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 <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_boottime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index b799fcf1f22..b2cb0160c08 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();
}
/**