From de69024c83558412ad6159488d40a36005f1dc14 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Wed, 26 Oct 2016 14:14:47 +0200 Subject: [PATCH] NetworkPkg/IpsecConfig: remove module-local ARRAY_SIZE macro Rely on the central macro definition from "MdePkg/Include/Base.h" instead. Cc: Jiaxin Wu Cc: Siyuan Fu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Fu Siyuan Reviewed-by: Wu Jiaxin Reviewed-by: Jordan Justen --- NetworkPkg/Application/IpsecConfig/IpSecConfig.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/NetworkPkg/Application/IpsecConfig/IpSecConfig.h b/NetworkPkg/Application/IpsecConfig/IpSecConfig.h index 79a436a7b3..95bb696113 100644 --- a/NetworkPkg/Application/IpsecConfig/IpSecConfig.h +++ b/NetworkPkg/Application/IpsecConfig/IpSecConfig.h @@ -27,10 +27,6 @@ #include -#ifndef ARRAY_SIZE -#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) -#endif - #define IPSECCONFIG_STATUS_NAME L"IpSecStatus" #define BIT(x) (UINT32) (1 << (x))