summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2019-11-04 22:28:18 +0800
committerCommit Bot <commit-bot@chromium.org>2019-11-05 13:43:49 +0000
commit0230c900bcfe6c6a61b66914951e5f01fa2311c6 (patch)
treeae4392e8113ae1c0950c186979754082737a44de
parent01cc9b7c64b486017f96829e5f374fbd3bdbf15a (diff)
downloadvboot-0230c900bcfe6c6a61b66914951e5f01fa2311c6.tar.gz
vboot: Remove the never called break
Clean up the code. BUG=none BRANCH=none TEST=N/A Change-Id: If4ef76edf5f97fc51a21740e1ca51475b27b5f1a Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1897416 Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--firmware/lib/vboot_ui.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/lib/vboot_ui.c b/firmware/lib/vboot_ui.c
index 864ad971..c8ef8cdc 100644
--- a/firmware/lib/vboot_ui.c
+++ b/firmware/lib/vboot_ui.c
@@ -128,7 +128,6 @@ int VbUserConfirms(struct vb2_context *ctx, uint32_t confirm_flags)
}
VB2_DEBUG("Yes (1)\n");
return 1;
- break;
case ' ':
VB2_DEBUG("Space (%d)\n",
confirm_flags & VB_CONFIRM_SPACE_MEANS_NO);
@@ -138,7 +137,6 @@ int VbUserConfirms(struct vb2_context *ctx, uint32_t confirm_flags)
case VB_KEY_ESC:
VB2_DEBUG("No (0)\n");
return 0;
- break;
default:
/* If the physical presence button is physical, and is
* pressed, this is also a YES, but must wait for
@@ -655,7 +653,6 @@ static vb2_error_t vb2_developer_ui(struct vb2_context *ctx)
"user pressed Ctrl+D; skip delay\n");
ctrl_d_pressed = 1;
goto fallout;
- break;
case VB_KEY_CTRL('L'):
VB2_DEBUG("VbBootDeveloper() - "
"user pressed Ctrl+L; Try alt firmware\n");