mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-18 09:48:39 +00:00
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>
This commit is contained in:
parent
fe179d7fb5
commit
b7d186f071
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user