Skip to content

Commit

Permalink
mok.c: fix a trivial dead assignment
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vathpela committed May 18, 2022
1 parent 5868789 commit a78673b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mok.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a78673b

Please sign in to comment.