From: Ruifeng Wang Date: Fri, 11 Jun 2021 14:42:18 +0000 (+0000) Subject: eal/arm: remove unused type X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=18f0b28eecb4b4232ee7afd8e7961dcb73a44f9c;p=dpdk.git eal/arm: remove unused type Data types Elf32_auxv_t and Elf64_auxv_t are used by OS Linux auxiliary vector read, and not used by arch specific cpu flag API implementations. Hence remove them from Arm file. Reported-by: James Grant Signed-off-by: Ruifeng Wang Reviewed-by: Honnappa Nagarahalli --- diff --git a/lib/eal/arm/rte_cpuflags.c b/lib/eal/arm/rte_cpuflags.c index 845770f1e5..d84c9fc09f 100644 --- a/lib/eal/arm/rte_cpuflags.c +++ b/lib/eal/arm/rte_cpuflags.c @@ -48,7 +48,6 @@ struct feature_entry { #ifdef RTE_ARCH_ARMv7 #define PLATFORM_STR "v7l" -typedef Elf32_auxv_t _Elfx_auxv_t; const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(SWP, REG_HWCAP, 0) @@ -83,7 +82,6 @@ const struct feature_entry rte_cpu_feature_table[] = { #elif defined RTE_ARCH_ARM64 #define PLATFORM_STR "aarch64" -typedef Elf64_auxv_t _Elfx_auxv_t; const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(FP, REG_HWCAP, 0)