summaryrefslogtreecommitdiff
path: root/tests/vboot_legacy_clamshell_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vboot_legacy_clamshell_tests.c')
-rw-r--r--tests/vboot_legacy_clamshell_tests.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/vboot_legacy_clamshell_tests.c b/tests/vboot_legacy_clamshell_tests.c
index baf60827..f31adcd3 100644
--- a/tests/vboot_legacy_clamshell_tests.c
+++ b/tests/vboot_legacy_clamshell_tests.c
@@ -22,8 +22,6 @@
#include "vboot_ui_legacy_common.h"
/* Mock data */
-static uint8_t shared_data[VB_SHARED_DATA_MIN_SIZE];
-static VbSharedDataHeader *shared = (VbSharedDataHeader *)shared_data;
static LoadKernelParams lkp;
static uint8_t workbuf[VB2_KERNEL_WORKBUF_RECOMMENDED_SIZE]
__attribute__((aligned(VB2_WORKBUF_ALIGN)));
@@ -86,8 +84,6 @@ static void ResetMocks(void)
{
vb2_reset_power_button();
- memset(&shared_data, 0, sizeof(shared_data));
-
memset(&lkp, 0, sizeof(lkp));
TEST_SUCC(vb2api_init(workbuf, sizeof(workbuf), &ctx),
@@ -95,7 +91,6 @@ static void ResetMocks(void)
vb2_nv_init(ctx);
sd = vb2_get_sd(ctx);
- sd->vbsd = shared;
sd->flags |= VB2_SD_FLAG_DISPLAY_AVAILABLE;
/* CRC will be invalid after here, but nobody's checking */