diff options
author | Matias Elo <matias.elo@nokia.com> | 2022-12-19 15:34:47 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-02-07 15:07:27 +0200 |
commit | 721e08c6f9cac1e03065e8f3653b616cf0261ca4 (patch) | |
tree | 14e04eb10790219f32ced414ecbc6b6525c1eba2 /platform | |
parent | 67e7bc21ded69243e636b949397591399d0f9a1f (diff) |
api: shm: remove deprecated ODP_SHM_SW_ONLY define
Remove deprecated ODP_SHM_SW_ONLY define.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform')
-rw-r--r-- | platform/linux-generic/odp_shared_memory.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/platform/linux-generic/odp_shared_memory.c b/platform/linux-generic/odp_shared_memory.c index a0e822a53..ef4df3a33 100644 --- a/platform/linux-generic/odp_shared_memory.c +++ b/platform/linux-generic/odp_shared_memory.c @@ -8,7 +8,6 @@ #include <odp_config_internal.h> #include <odp_debug_internal.h> #include <odp/api/debug.h> -#include <odp/api/deprecated.h> #include <odp/api/std_types.h> #include <odp/api/shared_memory.h> #include <odp/api/plat/strong_types.h> @@ -18,14 +17,8 @@ #include <string.h> /* Supported ODP_SHM_* flags */ -#if ODP_DEPRECATED_API - #define DEPRECATED_SHM_FLAGS (ODP_SHM_SW_ONLY) -#else - #define DEPRECATED_SHM_FLAGS 0 -#endif - #define SUPPORTED_SHM_FLAGS (ODP_SHM_PROC | ODP_SHM_SINGLE_VA | ODP_SHM_EXPORT | \ - ODP_SHM_HP | ODP_SHM_NO_HP | DEPRECATED_SHM_FLAGS) + ODP_SHM_HP | ODP_SHM_NO_HP) static inline uint32_t from_handle(odp_shm_t shm) { |