| Index: vboot_firmware/lib/cgptlib/cgptlib.c
|
| diff --git a/vboot_firmware/lib/cgptlib/cgptlib.c b/vboot_firmware/lib/cgptlib/cgptlib.c
|
| index 3c92384a3968e5991a1738c7a0d2f314703c84e0..4856311af363f9db9b26611d3c9d778938b1c829 100644
|
| --- a/vboot_firmware/lib/cgptlib/cgptlib.c
|
| +++ b/vboot_firmware/lib/cgptlib/cgptlib.c
|
| @@ -95,7 +95,6 @@ int GptUpdateKernelEntry(GptData* gpt, uint32_t update_type) {
|
| GptEntry* e = entries + gpt->current_kernel;
|
| uint64_t previous_attr = e->attributes;
|
|
|
| - /* TODO: need a better return code for these errors? */
|
| if (gpt->current_kernel == CGPT_KERNEL_ENTRY_NOT_FOUND)
|
| return GPT_ERROR_INVALID_UPDATE_TYPE;
|
| if (!IsKernelEntry(e))
|
|
|