shim: main(): Don't save the value from mok_ignore_db()

We don't really care if setting MokIgnoreDB fails; don't save the return.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2017-10-19 11:11:14 -04:00 committed by Peter Jones
parent f80b30febc
commit 91e5f5324e

2
shim.c
View File

@ -2979,7 +2979,7 @@ efi_main (EFI_HANDLE passed_image_handle, EFI_SYSTEM_TABLE *passed_systab)
* Create the runtime MokIgnoreDB variable so the kernel can
* make use of it
*/
efi_status = mok_ignore_db();
mok_ignore_db();
/*
* Hand over control to the second stage bootloader