summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Application
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-10-26 14:14:47 +0200
committerLaszlo Ersek <lersek@redhat.com>2016-10-27 10:50:12 +0200
commitde69024c83558412ad6159488d40a36005f1dc14 (patch)
treef7cb0756cd23fbc397aee23193e91235fd06216b /NetworkPkg/Application
parent8f04ef300d25f0252cdf23c2cf96d076db15508a (diff)
downloadedk2-de69024c83558412ad6159488d40a36005f1dc14.tar.gz
edk2-de69024c83558412ad6159488d40a36005f1dc14.tar.bz2
edk2-de69024c83558412ad6159488d40a36005f1dc14.zip
NetworkPkg/IpsecConfig: remove module-local ARRAY_SIZE macro
Rely on the central macro definition from "MdePkg/Include/Base.h" instead. Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'NetworkPkg/Application')
-rw-r--r--NetworkPkg/Application/IpsecConfig/IpSecConfig.h4
1 files changed, 0 insertions, 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 <Protocol/IpSecConfig.h>
-#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))