Remove ASSERT when SetVariable for ConOutDev/ConInDev/ErrOutDev variables failed.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15336 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Elvin Li 2014-03-18 07:43:27 +00:00 committed by li-elvin
parent 304ae970ee
commit 4529d72310
1 changed files with 1 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Produces Simple Text Input Protocol, Simple Text Input Extended Protocol and Produces Simple Text Input Protocol, Simple Text Input Extended Protocol and
Simple Text Output Protocol upon Serial IO Protocol. Simple Text Output Protocol upon Serial IO Protocol.
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -1462,7 +1462,6 @@ TerminalUpdateConsoleDevVariable (
VariableSize, VariableSize,
Variable Variable
); );
ASSERT_EFI_ERROR (Status);
FreePool (Variable); FreePool (Variable);
return ; return ;
@ -1570,7 +1569,6 @@ TerminalRemoveConsoleDevVariable (
VariableSize, VariableSize,
NewVariable NewVariable
); );
ASSERT_EFI_ERROR (Status);
} }
if (NewVariable != NULL) { if (NewVariable != NULL) {