From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9A203A0471 for ; Mon, 12 Aug 2019 09:01:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 792622629; Mon, 12 Aug 2019 09:01:16 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 24C602C5 for ; Mon, 12 Aug 2019 09:01:14 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 64BBBC054907; Mon, 12 Aug 2019 07:01:13 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-204-32.brq.redhat.com [10.40.204.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 387C019C4F; Mon, 12 Aug 2019 07:01:10 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , Olivier Matz Date: Mon, 12 Aug 2019 09:00:54 +0200 Message-Id: <1565593254-6017-1-git-send-email-david.marchand@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 12 Aug 2019 07:01:13 +0000 (UTC) Subject: [dpdk-dev] [PATCH] clean bare metal support traces X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Bare metal support has been gone for quite some time but we still had some checks on system includes. Signed-off-by: David Marchand --- app/test-pmd/cmdline.c | 6 +----- app/test/commands.c | 5 ----- app/test/test_cmdline_ipaddr.c | 7 +------ examples/cmdline/commands.c | 8 ++------ lib/librte_cmdline/cmdline_parse_ipaddr.c | 6 +----- 5 files changed, 5 insertions(+), 27 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 56783aa..e28b8ba 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 8d5a03a..3bf767b 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 8ee7f62..2d11ce9 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 e96739f..1249ee7 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 6647f56..848c1eb 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 -- 1.8.3.1