]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/PlatformBootManagerLib: remove module-local ARRAY_SIZE macro
authorLaszlo Ersek <lersek@redhat.com>
Wed, 26 Oct 2016 12:14:47 +0000 (14:14 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Thu, 27 Oct 2016 08:50:14 +0000 (10:50 +0200)
Rely on the central macro definition from "MdePkg/Include/Base.h" instead.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
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