aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/security/vboot/vbnv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/security/vboot/vbnv.c b/src/security/vboot/vbnv.c
index 1428a30b33..2ddb89803d 100644
--- a/src/security/vboot/vbnv.c
+++ b/src/security/vboot/vbnv.c
@@ -82,11 +82,6 @@ void save_vbnv(const uint8_t *vbnv_copy)
int vbnv_udc_enable_flag(void)
{
struct vb2_context *ctx = vboot_get_context();
-
- /* This function is expected to be called after temporary nvdata storage in vboot
- context is initialized. */
- assert(vbnv_initialized);
-
return (ctx->nvdata[DEV_FLAGS_OFFSET] & DEV_ENABLE_UDC) ? 1 : 0;
}