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 <j.grant@qub.ac.uk>
Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
This commit is contained in:
Ruifeng Wang 2021-06-11 14:42:18 +00:00 committed by David Marchand
parent 5e2226f194
commit 18f0b28eec

View File

@ -48,7 +48,6 @@ struct feature_entry {
#ifdef RTE_ARCH_ARMv7 #ifdef RTE_ARCH_ARMv7
#define PLATFORM_STR "v7l" #define PLATFORM_STR "v7l"
typedef Elf32_auxv_t _Elfx_auxv_t;
const struct feature_entry rte_cpu_feature_table[] = { const struct feature_entry rte_cpu_feature_table[] = {
FEAT_DEF(SWP, REG_HWCAP, 0) FEAT_DEF(SWP, REG_HWCAP, 0)
@ -83,7 +82,6 @@ const struct feature_entry rte_cpu_feature_table[] = {
#elif defined RTE_ARCH_ARM64 #elif defined RTE_ARCH_ARM64
#define PLATFORM_STR "aarch64" #define PLATFORM_STR "aarch64"
typedef Elf64_auxv_t _Elfx_auxv_t;
const struct feature_entry rte_cpu_feature_table[] = { const struct feature_entry rte_cpu_feature_table[] = {
FEAT_DEF(FP, REG_HWCAP, 0) FEAT_DEF(FP, REG_HWCAP, 0)