From 9b92656730f212c1aaaa1ef221791e1025e1ecac Mon Sep 17 00:00:00 2001
From: Olivier Martin <olivier.martin@arm.com>
Date: Mon, 13 Oct 2014 10:52:31 +0100
Subject: [PATCH] IntelFrameworkModulePkg/PlatformBdsLibNull: Removed dead code

Leaving this unused code might create confusion when developers
want to use the NULL library as a base for their platform.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
---
 .../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 84a36c5..9fb3b23 100644
--- a/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c
+++ b/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c
@@ -153,21 +153,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 a3afb43..131efab 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 };
-- 
2.1.1

