From: David Marchand Date: Mon, 12 Aug 2019 07:00:54 +0000 (+0200) Subject: clean bare metal support traces X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=384b0a33fe37e6e3c616f9f304908eaaced12f79;p=dpdk.git clean bare metal support traces Bare metal support has been gone for quite some time but we still had some checks on system includes. Signed-off-by: David Marchand Acked-by: Thomas Monjalon --- diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index ded56bf36f..1bd977f91d 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -11,13 +11,9 @@ #include #include #include -#ifndef __linux__ -#ifndef __FreeBSD__ -#include -#else +#ifdef __FreeBSD__ #include #endif -#endif #include #include diff --git a/app/test/commands.c b/app/test/commands.c index 8d5a03a954..3bf767bf7f 100644 --- a/app/test/commands.c +++ b/app/test/commands.c @@ -10,11 +10,6 @@ #include #include #include -#ifndef __linux__ -#ifndef __FreeBSD__ -#include -#endif -#endif #include #include #include diff --git a/app/test/test_cmdline_ipaddr.c b/app/test/test_cmdline_ipaddr.c index 8ee7f62886..2d11ce936c 100644 --- a/app/test/test_cmdline_ipaddr.c +++ b/app/test/test_cmdline_ipaddr.c @@ -6,14 +6,9 @@ #include #include #include - -#ifndef __linux__ -#ifndef __FreeBSD__ -#include -#else +#ifdef __FreeBSD__ #include #endif -#endif #include diff --git a/examples/cmdline/commands.c b/examples/cmdline/commands.c index e96739f346..1249ee7a8a 100644 --- a/examples/cmdline/commands.c +++ b/examples/cmdline/commands.c @@ -12,12 +12,8 @@ #include #include #include -#ifndef __linux__ - #ifdef __FreeBSD__ - #include - #else - #include - #endif +#ifdef __FreeBSD__ +#include #endif #include diff --git a/lib/librte_cmdline/cmdline_parse_ipaddr.c b/lib/librte_cmdline/cmdline_parse_ipaddr.c index 6647f569fe..848c1eb07d 100644 --- a/lib/librte_cmdline/cmdline_parse_ipaddr.c +++ b/lib/librte_cmdline/cmdline_parse_ipaddr.c @@ -13,13 +13,9 @@ #include #include #include -#ifndef __linux__ -#ifndef __FreeBSD__ -#include -#else +#ifdef __FreeBSD__ #include #endif -#endif #include