OvmfPkg/PlatformBootManagerLib: remove module-local ARRAY_SIZE macro

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>
This commit is contained in:
Laszlo Ersek 2016-10-26 14:14:47 +02:00
parent de69024c83
commit e2c78bec3f
1 changed files with 0 additions and 7 deletions

View File

@ -37,13 +37,6 @@ CONST UINT8 PciHostIrqs[] = {
0x0a, 0x0a, 0x0b, 0x0b
};
//
// Array Size macro
//
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(array) (sizeof (array) / sizeof (array[0]))
#endif
//
// Type definitions
//