mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user