diff --git a/OvmfPkg/XenBusDxe/XenStore.c b/OvmfPkg/XenBusDxe/XenStore.c index 9eeb6f54fb..1666c4b8f9 100644 --- a/OvmfPkg/XenBusDxe/XenStore.c +++ b/OvmfPkg/XenBusDxe/XenStore.c @@ -713,9 +713,6 @@ static XenStoreErrors gXenStoreErrors[] = { { XENSTORE_STATUS_EISCONN, "EISCONN" }, { XENSTORE_STATUS_E2BIG, "E2BIG" } }; -#ifndef ARRAY_SIZE -#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) -#endif STATIC XENSTORE_STATUS