diff options
Diffstat (limited to 'firmware/lib/vboot_kernel.c')
-rw-r--r-- | firmware/lib/vboot_kernel.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/firmware/lib/vboot_kernel.c b/firmware/lib/vboot_kernel.c index 0200dccf..8d74f997 100644 --- a/firmware/lib/vboot_kernel.c +++ b/firmware/lib/vboot_kernel.c @@ -427,8 +427,7 @@ int vb2_load_partition(struct vb2_context *ctx, return VB2_SUCCESS; } -VbError_t LoadKernel(struct vb2_context *ctx, LoadKernelParams *params, - VbCommonParams *cparams) +VbError_t LoadKernel(struct vb2_context *ctx, LoadKernelParams *params) { struct vb2_shared_data *sd = vb2_get_sd(ctx); VbSharedDataHeader *shared = sd->vbsd; @@ -658,9 +657,6 @@ load_kernel_exit: VBERROR_SUCCESS != retval ? recovery : VB2_RECOVERY_NOT_REQUESTED); - /* Store how much shared data we used, if any */ - cparams->shared_data_size = shared->data_used; - free(recovery_key); shcall->return_code = (uint8_t)retval; |