summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-06 05:27:05 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-06 05:27:05 +0000
commitee295f87c3da51d20a6c2ef938082561fbca05f2 (patch)
tree264dafc0612d4b8576a2202952dce1713ecc8d15 /EdkModulePkg/Universal
parentad368bfe44cfbd61e47894c55a3dd3ccb143f22f (diff)
downloadedk2-platforms-ee295f87c3da51d20a6c2ef938082561fbca05f2.tar.xz
Do not use return value of REPORT_STATUS_CODE_WITH_DEVICE_PATH to override the current function's return status.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2421 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal')
-rw-r--r--EdkModulePkg/Universal/Console/Terminal/Dxe/TerminalConIn.c27
1 files changed, 10 insertions, 17 deletions
diff --git a/EdkModulePkg/Universal/Console/Terminal/Dxe/TerminalConIn.c b/EdkModulePkg/Universal/Console/Terminal/Dxe/TerminalConIn.c
index 4dbb17eaf7..81142afff2 100644
--- a/EdkModulePkg/Universal/Console/Terminal/Dxe/TerminalConIn.c
+++ b/EdkModulePkg/Universal/Console/Terminal/Dxe/TerminalConIn.c
@@ -1,6 +1,7 @@
-/*++
-
-Copyright (c) 2006, Intel Corporation
+/**@file
+ Implementation for EFI_SIMPLE_TEXT_IN_PROTOCOL protocol.
+
+Copyright (c) 2006 - 2007 Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials
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
@@ -9,15 +10,7 @@ http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-Module Name:
-
- TerminalConIn.c
-
-Abstract:
-
-
-Revision History
---*/
+**/
#include "Terminal.h"
@@ -58,11 +51,11 @@ TerminalConInReset (
//
// Report progress code here
//
- Status = REPORT_STATUS_CODE_WITH_DEVICE_PATH (
- EFI_PROGRESS_CODE,
- EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET,
- TerminalDevice->DevicePath
- );
+ REPORT_STATUS_CODE_WITH_DEVICE_PATH (
+ EFI_PROGRESS_CODE,
+ EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET,
+ TerminalDevice->DevicePath
+ );
Status = TerminalDevice->SerialIo->Reset (TerminalDevice->SerialIo);