]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c
Remove the useless code to fix build failure caused by error depend on IntelFramework...
[mirror_edk2.git] / MdeModulePkg / Application / UiApp / BootMaint / UpdatePage.c
index ea96d132e562e4a0807af8f3a137e22a06027036..938912bfbea2dd12e0ac2f5854d95f01272ca996 100644 (file)
@@ -232,35 +232,6 @@ UpdateConCOMPage (
   UpdatePageEnd (CallbackData);\r
 }\r
 \r
-/**\r
-\r
-  IsShellNodeDevicePath checks for the Shell device path. \r
-  If it's the shell device path then return TRUE otherwise \r
-  return FALSE.\r
-\r
-  @param DevicePath    The DevicePath to check\r
-\r
-  @retval  TRUE        DevicePath is Shell\r
-  @retval  FALSE       DevicePath is not Shell\r
-\r
-**/\r
-BOOLEAN\r
-IsShellNodeDevicePath(\r
-  IN  EFI_DEVICE_PATH_PROTOCOL          *FilePath\r
-  )\r
-{\r
-\r
-  EFI_DEVICE_PATH_PROTOCOL              *Node;\r
-\r
-  for (Node = FilePath; !IsDevicePathEnd(Node); Node = NextDevicePathNode(Node)) \r
-  {\r
-    if ((DevicePathType (Node) == MEDIA_DEVICE_PATH) && (DevicePathSubType (Node) == MEDIA_PIWG_FW_FILE_DP)) {\r
-      if (!CompareMem(PcdGetPtr(PcdShellFile), &(((MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *)Node)->FvFileName), sizeof(EFI_GUID)))\r
-         return TRUE;\r
-    }\r
-  }\r
-  return FALSE;\r
-}\r
 \r
 /**\r
   Create a list of boot option from global BootOptionMenu. It\r