summaryrefslogtreecommitdiffstats
path: root/lib/librte_eal/common/eal_common_cpuflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_eal/common/eal_common_cpuflags.c')
-rw-r--r--lib/librte_eal/common/eal_common_cpuflags.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/librte_eal/common/eal_common_cpuflags.c b/lib/librte_eal/common/eal_common_cpuflags.c
index ecb12409..b5f76f7f 100644
--- a/lib/librte_eal/common/eal_common_cpuflags.c
+++ b/lib/librte_eal/common/eal_common_cpuflags.c
@@ -39,14 +39,8 @@
/**
* Checks if the machine is adequate for running the binary. If it is not, the
* program exits with status 1.
- * The function attribute forces this function to be called before main(). But
- * with ICC, the check is generated by the compiler.
*/
-#ifndef __INTEL_COMPILER
-void __attribute__ ((__constructor__))
-#else
void
-#endif
rte_cpu_check_supported(void)
{
/* This is generated at compile-time by the build system */