@@ -136,9 +136,6 @@ typedef struct odp_buffer_hdr_t {
typedef struct odp_buffer_hdr_stride {
uint8_t pad[ODP_CACHE_LINE_SIZE_ROUNDUP(sizeof(odp_buffer_hdr_t))];
} odp_buffer_hdr_stride;
-/* Ensure next header starts from 8 byte align */
-_ODP_STATIC_ASSERT((sizeof(odp_buffer_hdr_t) % 8) == 0,
- "ODP_BUFFER_HDR_T__SIZE_ERROR");
typedef struct odp_buf_blk_t {
struct odp_buf_blk_t *next;
@@ -59,9 +59,6 @@ _ODP_STATIC_ASSERT(sizeof(odp_timeout_hdr_t) ==
ODP_OFFSETOF(odp_timeout_hdr_t, buf_data),
"ODP_TIMEOUT_HDR_T__SIZE_ERR");
-_ODP_STATIC_ASSERT(sizeof(odp_timeout_hdr_t) % sizeof(uint64_t) == 0,
- "ODP_TIMEOUT_HDR_T__SIZE_ERR2");
-
/**
* Return timeout header
Fix for bug 1031 to enable linux-generic compiles on 32-bit systems. Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- platform/linux-generic/include/odp_buffer_internal.h | 3 --- platform/linux-generic/include/odp_timer_internal.h | 3 --- 2 files changed, 6 deletions(-)