diff options
| author | Peter Jones <pjones@redhat.com> | 2022-05-18 15:51:29 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2022-05-18 16:37:23 -0400 |
| commit | a78673b19e98b4f000a2d8043e4bfdaab6d83a05 (patch) | |
| tree | 5c2068544104756e4e620afb7dc254d2e811c0c4 | |
| parent | 5868789a11bd5e85d1fae5fa9d9c28c3ef93dfb9 (diff) | |
| download | efi-boot-shim-a78673b19e98b4f000a2d8043e4bfdaab6d83a05.tar.gz efi-boot-shim-a78673b19e98b4f000a2d8043e4bfdaab6d83a05.zip | |
mok.c: fix a trivial dead assignment
scan-build noticed that when we split this out, this assignment was no
longer in a loop, and so doesn't do anything.
Signed-off-by: Peter Jones <pjones@redhat.com>
| -rw-r--r-- | mok.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -873,7 +873,6 @@ EFI_STATUS import_one_mok_state(struct mok_state_variable *v, v->data = AllocateZeroPool(4); v->data[0] = 0x01; v->data_size = 1; - efi_status = EFI_SUCCESS; } else if (efi_status == EFI_NOT_FOUND) { v->data = NULL; v->data_size = 0; |
