]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
OvmfPkg/PlatformBootManagerLib: remove module-local ARRAY_SIZE macro
[mirror_edk2.git] / OvmfPkg / Library / PlatformBootManagerLib / BdsPlatform.c
index 16618a8f57f08636ba62ce5f68cbb8d0d8219092..66ee590f427ea2163fd11c56bed0b7eeea6ce3c6 100644 (file)
@@ -37,13 +37,6 @@ CONST UINT8 PciHostIrqs[] = {
   0x0a, 0x0a, 0x0b, 0x0b\r
 };\r
 \r
-//\r
-// Array Size macro\r
-//\r
-#ifndef ARRAY_SIZE\r
-#define ARRAY_SIZE(array) (sizeof (array) / sizeof (array[0]))\r
-#endif\r
-\r
 //\r
 // Type definitions\r
 //\r