From e2c78bec3f898b79b81fe9c7e49aa536a5695324 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Wed, 26 Oct 2016 14:14:47 +0200 Subject: OvmfPkg/PlatformBootManagerLib: remove module-local ARRAY_SIZE macro Rely on the central macro definition from "MdePkg/Include/Base.h" instead. Cc: Jordan Justen Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen --- OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'OvmfPkg/Library/PlatformBootManagerLib') diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c index 16618a8f57..66ee590f42 100644 --- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c @@ -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 // -- cgit v1.2.3