From 544ccd1051108dcaf9eced3d57f465dd24a4e43e Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Tue, 14 Oct 2014 06:30:17 +0000 Subject: Removes dead code from the PlatformBdsLibNull,leaving this unused code might confuse the user. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin Reviewed-by: Eric Dong git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16210 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/PlatformBdsLibNull/BdsPlatform.c | 15 -------------- .../Library/PlatformBdsLibNull/PlatformData.c | 24 ---------------------- 2 files changed, 39 deletions(-) diff --git a/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c b/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c index 84a36c5305..9fb3b23282 100644 --- a/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c +++ b/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c @@ -152,21 +152,6 @@ PlatformBdsBootFail ( { } -/** - This function is remained for IBV/OEM to do some platform action, - if there no console device can be connected. - - @return EFI_SUCCESS Direct return success now. - -**/ -EFI_STATUS -PlatformBdsNoConsoleAction ( - VOID - ) -{ - return EFI_SUCCESS; -} - /** This function locks platform flash that is not allowed to be updated during normal boot path. The flash layout is platform specific. diff --git a/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformData.c b/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformData.c index a3afb43022..131efab4d9 100644 --- a/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformData.c +++ b/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformData.c @@ -19,27 +19,3 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. /// Predefined platform default time out value /// UINT16 gPlatformBootTimeOutDefault = 10; - -// -// Platform specific keyboard device path -// - -/// -/// Predefined platform default console device path -/// -BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = { - { - NULL, - 0 - } -}; - -/// -/// Predefined platform specific driver option -/// -EFI_DEVICE_PATH_PROTOCOL *gPlatformDriverOption[] = { NULL }; - -/// -/// Predefined platform connect sequence -/// -EFI_DEVICE_PATH_PROTOCOL *gPlatformConnectSequence[] = { NULL }; -- cgit v1.2.3