From ee295f87c3da51d20a6c2ef938082561fbca05f2 Mon Sep 17 00:00:00 2001 From: klu2 Date: Tue, 6 Mar 2007 05:27:05 +0000 Subject: [PATCH] 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 --- .../Console/Terminal/Dxe/TerminalConIn.c | 27 +++++++------------ 1 file 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.
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); -- 2.39.2