@@ -139,9 +139,6 @@ typedef struct odp_packet_hdr_stride {
uint8_t pad[ODP_CACHE_LINE_SIZE_ROUNDUP(sizeof(odp_packet_hdr_t))];
} odp_packet_hdr_stride;
-_ODP_STATIC_ASSERT(sizeof(odp_packet_hdr_t) % sizeof(uint64_t) == 0,
- "ODP_PACKET_HDR_T__SIZE_ERR2");
-
/**
* Return the packet header
*/
@@ -35,9 +35,6 @@ typedef union buffer_type_any_u {
odp_timeout_hdr_t tmo;
} odp_anybuf_t;
-_ODP_STATIC_ASSERT((sizeof(union buffer_type_any_u) % 8) == 0,
- "BUFFER_TYPE_ANY_U__SIZE_ERR");
-
/* Any buffer type header */
typedef struct {
union buffer_type_any_u any_hdr; /* any buffer type */
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- platform/linux-generic/include/odp_packet_internal.h | 3 --- platform/linux-generic/odp_pool.c | 3 --- 2 files changed, 6 deletions(-)