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:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user