From 11f4bd9c32ca3fc7ba56021b7190342ef2709ae1 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Sun, 18 Jun 2023 05:06:20 +0200 Subject: [PATCH] Remove cmake NAS_NETLINK option This option is almost not referenced anywhere, and not documented. Remove it to avoid problems in the future. --- CMakeLists.txt | 1 - openair2/COMMON/platform_types.h | 5 ----- 2 files changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 89dc638787..37895b1299 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -629,7 +629,6 @@ include_directories ("${OPENAIR_DIR}/radio/COMMON") ############################################################## add_boolean_option(OAI_NW_DRIVER_TYPE_ETHERNET False "????" ON) -add_boolean_option(NAS_NETLINK False "useless ??? Must be True to compile nasmesh driver without rtai ????" ON) add_boolean_option(OAI_NW_DRIVER_USE_NETLINK True "????" ON) add_boolean_option(UE_EXPANSION False "enable UE_EXPANSION with max 256 UE" ON) diff --git a/openair2/COMMON/platform_types.h b/openair2/COMMON/platform_types.h index c3d5999b62..6c388c3cd0 100644 --- a/openair2/COMMON/platform_types.h +++ b/openair2/COMMON/platform_types.h @@ -30,13 +30,8 @@ #ifndef __PLATFORM_TYPES_H__ #define __PLATFORM_TYPES_H__ -#if !defined(NAS_NETLINK) #include #include -#else -#include -typedef void * intptr_t; -#endif //----------------------------------------------------------------------------- // GENERIC ACCESS STRATUM TYPES