]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Bds/BdsHelper.c
ArmPlatformPkg/Bds: Added support for booting legacy kernel from BDS
[mirror_edk2.git] / ArmPlatformPkg / Bds / BdsHelper.c
index b3003e99b4f3528e75b689d934c8a123c42f4555..732292cdb94a0011b701f09c6e6d8f227f05d7aa 100644 (file)
@@ -256,15 +256,6 @@ GetHIInputBoolean (
   }\r
 }\r
 \r
-BOOLEAN\r
-HasFilePathEfiExtension (\r
-  IN CHAR16* FilePath\r
-  )\r
-{\r
-  return (StrCmp (FilePath + (StrSize (FilePath) / sizeof (CHAR16)) - 5, L".EFI") == 0) ||\r
-         (StrCmp (FilePath + (StrSize (FilePath) / sizeof (CHAR16)) - 5, L".efi") == 0);\r
-}\r
-\r
 // Return the last non end-type Device Path Node from a Device Path\r
 EFI_DEVICE_PATH*\r
 GetLastDevicePathNode (\r