aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_buffer_internal.h
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2017-11-06 12:52:04 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-11-16 18:45:06 +0300
commit4459e1bd35534dd1b6a313890c74086c0e86c617 (patch)
tree9d4ecaeac303cc88ffa718b7767236994af02b7a /platform/linux-generic/include/odp_buffer_internal.h
parent163f57de92d66336433cf5638538828e10053655 (diff)
linux-gen: buffer: remove data size member from odp_buffer_hdr_t
Data size is constant for all buffers from the same pool, so there is no need to store the value in the buffer header. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_buffer_internal.h')
-rw-r--r--platform/linux-generic/include/odp_buffer_internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h
index aefb13527..ac189301f 100644
--- a/platform/linux-generic/include/odp_buffer_internal.h
+++ b/platform/linux-generic/include/odp_buffer_internal.h
@@ -107,9 +107,6 @@ struct odp_buffer_hdr_t {
/* User area size */
uint32_t uarea_size;
- /* Max data size */
- uint32_t size;
-
/* ipc mapped process can not walk over pointers,
* offset has to be used */
uint64_t ipc_data_offset;