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.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/firmware/lib/vboot_api_kernel.c b/firmware/lib/vboot_api_kernel.c
index 3f1dfc5c..a1d83b11 100644
--- a/firmware/lib/vboot_api_kernel.c
+++ b/firmware/lib/vboot_api_kernel.c
@@ -609,18 +609,6 @@ VbError_t VbEcSoftwareSync(VbCommonParams *cparams)
}
VBDEBUG(("VbEcSoftwareSync() in RO-Normal; EC-RO\n"));
-
- /*
- * If shutdown is requested, just power the AP back off. This
- * covers the case where the lid is closed when then system
- * boots.
- */
- if (VbExIsShutdownRequested()) {
- VBDEBUG(("VbEcSoftwareSync() "
- "sees shutdown-requested\n"));
- return VBERROR_SHUTDOWN_REQUESTED;
- }
-
return VBERROR_SUCCESS;
}
@@ -745,18 +733,6 @@ VbError_t VbEcSoftwareSync(VbCommonParams *cparams)
}
VBDEBUG(("VbEcSoftwareSync() in EC-RW and it matches\n"));
-
- /*
- * If shutdown is requested, just power the AP back off. This
- * covers the case where the lid is closed when then system
- * boots.
- */
- if (VbExIsShutdownRequested()) {
- VBDEBUG(("VbEcSoftwareSync() "
- "sees shutdown-requested\n"));
- return VBERROR_SHUTDOWN_REQUESTED;
- }
-
return VBERROR_SUCCESS;
}
@@ -814,16 +790,6 @@ VbError_t VbEcSoftwareSync(VbCommonParams *cparams)
}
VBDEBUG(("VbEcSoftwareSync() in RW; done\n"));
-
- /*
- * If shutdown is requested, just power the AP back off. This covers
- * the case where the lid is closed when then system boots.
- */
- if (VbExIsShutdownRequested()) {
- VBDEBUG(("VbEcSoftwareSync() sees shutdown-requested\n"));
- return VBERROR_SHUTDOWN_REQUESTED;
- }
-
return VBERROR_SUCCESS;
}