summaryrefslogtreecommitdiff
path: root/firmware/lib/vboot_api_kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/vboot_api_kernel.c')
-rw-r--r--firmware/lib/vboot_api_kernel.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/lib/vboot_api_kernel.c b/firmware/lib/vboot_api_kernel.c
index ec9aaa14..ae1df41e 100644
--- a/firmware/lib/vboot_api_kernel.c
+++ b/firmware/lib/vboot_api_kernel.c
@@ -611,13 +611,3 @@ vb2_error_t VbVerifyMemoryBootImage(struct vb2_context *ctx,
vb2_kernel_cleanup(ctx);
return retval;
}
-
-vb2_error_t VbUnlockDevice(void)
-{
- VB2_DEBUG("Enabling dev-mode...\n");
- if (VB2_SUCCESS != SetVirtualDevMode(1))
- return VBERROR_TPM_SET_BOOT_MODE_STATE;
-
- VB2_DEBUG("Mode change will take effect on next reboot.\n");
- return VB2_SUCCESS;
-}