From: David Marchand Date: Wed, 15 Jan 2020 17:21:48 +0000 (+0100) Subject: lib: cleanup X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9160d6386472b70503e504df765440ecdb604d7d;p=dpdk.git lib: cleanup Signed-off-by: David Marchand --- diff --git a/lib/librte_distributor/meson.build b/lib/librte_distributor/meson.build index 50b91887b5..266af64348 100644 --- a/lib/librte_distributor/meson.build +++ b/lib/librte_distributor/meson.build @@ -9,7 +9,6 @@ else endif headers = files('rte_distributor.h') deps += ['mbuf'] -use_function_versioning = true # for clang 32-bit compiles we need libatomic for 64-bit atomic ops if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false diff --git a/lib/librte_distributor/rte_distributor.c b/lib/librte_distributor/rte_distributor.c index 6c5b0c86e8..1c047f065a 100644 --- a/lib/librte_distributor/rte_distributor.c +++ b/lib/librte_distributor/rte_distributor.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include diff --git a/lib/librte_distributor/rte_distributor_single.c b/lib/librte_distributor/rte_distributor_single.c index 91d8824c64..abaf7730c3 100644 --- a/lib/librte_distributor/rte_distributor_single.c +++ b/lib/librte_distributor/rte_distributor_single.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include diff --git a/lib/librte_lpm/meson.build b/lib/librte_lpm/meson.build index 27ce45b531..021ac6d8d4 100644 --- a/lib/librte_lpm/meson.build +++ b/lib/librte_lpm/meson.build @@ -7,4 +7,3 @@ headers = files('rte_lpm.h', 'rte_lpm6.h') # without worrying about which architecture we actually need headers += files('rte_lpm_altivec.h', 'rte_lpm_neon.h', 'rte_lpm_sse.h') deps += ['hash'] -use_function_versioning = true diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c index b78c487447..2687564194 100644 --- a/lib/librte_lpm/rte_lpm.c +++ b/lib/librte_lpm/rte_lpm.c @@ -22,7 +22,6 @@ #include #include #include -#include #include "rte_lpm.h" diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c index c46e557e23..b981e40714 100644 --- a/lib/librte_lpm/rte_lpm6.c +++ b/lib/librte_lpm/rte_lpm6.c @@ -25,7 +25,6 @@ #include #include #include -#include #include "rte_lpm6.h" diff --git a/lib/librte_timer/meson.build b/lib/librte_timer/meson.build index b7edfe2e7d..d3b828ce9d 100644 --- a/lib/librte_timer/meson.build +++ b/lib/librte_timer/meson.build @@ -4,4 +4,3 @@ sources = files('rte_timer.c') headers = files('rte_timer.h') allow_experimental_apis = true -use_function_versioning = true diff --git a/lib/librte_timer/rte_timer.c b/lib/librte_timer/rte_timer.c index ca88454ff6..4680a91b58 100644 --- a/lib/librte_timer/rte_timer.c +++ b/lib/librte_timer/rte_timer.c @@ -26,7 +26,6 @@ #include #include #include -#include #include "rte_timer.h"