summaryrefslogtreecommitdiff
path: root/src/vendorcode/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/google')
-rw-r--r--src/vendorcode/google/chromeos/vboot2/vboot_loader.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/vendorcode/google/chromeos/vboot2/vboot_loader.c b/src/vendorcode/google/chromeos/vboot2/vboot_loader.c
index 590061331d..f6efe0f2c7 100644
--- a/src/vendorcode/google/chromeos/vboot2/vboot_loader.c
+++ b/src/vendorcode/google/chromeos/vboot2/vboot_loader.c
@@ -88,11 +88,7 @@ static int vboot_logic_executed(void)
static void vboot_prepare(void)
{
- int run_verification;
-
- run_verification = verification_should_run();
-
- if (run_verification) {
+ if (verification_should_run()) {
verstage_main();
car_set_var(vboot_executed, 1);
} else if (verstage_should_load()) {