summaryrefslogtreecommitdiff
path: root/shim.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@srcf.ucam.org>2012-11-27 23:52:27 -0500
committerMatthew Garrett <mjg59@srcf.ucam.org>2012-11-27 23:52:27 -0500
commit8d311bc7e7f1a69858a8355392c6745d01e841de (patch)
treed96f123803050e2261bc7216cce867aa2983cc80 /shim.c
parentef8c9962a8bab7068acd47f0845df45616c0fda1 (diff)
downloadefi-boot-shim-8d311bc7e7f1a69858a8355392c6745d01e841de.tar.gz
efi-boot-shim-8d311bc7e7f1a69858a8355392c6745d01e841de.zip
Remove debug code
secure_mode() was altered to always return true for debug purposes, and this accidentally got committed to mainline. Fix that.
Diffstat (limited to 'shim.c')
-rw-r--r--shim.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/shim.c b/shim.c
index 4d490b91..c3aae9e0 100644
--- a/shim.c
+++ b/shim.c
@@ -416,8 +416,6 @@ static BOOLEAN secure_mode (void)
UINT8 sb, setupmode;
UINT32 attributes;
- return TRUE;
-
if (insecure_mode)
return FALSE;