From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id DA352A00C5;
	Wed,  2 Feb 2022 10:52:02 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id CB5CD4278A;
	Wed,  2 Feb 2022 10:49:22 +0100 (CET)
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by mails.dpdk.org (Postfix) with ESMTP id 6330C4274F
 for <dev@dpdk.org>; Wed,  2 Feb 2022 10:49:15 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1643795355; x=1675331355;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=7N4aLqgbna4nRQeFy8OzdM7ZdC1VxvuUgd3kVR6oMaA=;
 b=Fa8T58LOV5+z13bihC76vhOd7zK22SGG4T5Ys8Uibh3uqpFge+E4kQ7J
 EPyN1PWg3Bcv6ivfSGmVFyFjE18Z11rgQOF7yqtaflMjiDPeoepZX1762
 eTxvDu0jFBqz2DGzz5oDuxksMnJXHwO1MyOGboLUXgvTTSZ1ZAj8WTuBW
 tSJLeE78Svk7yuqo0hi3SSX15U8FSBx2UgYMWFxzzKBqUsXYg8gUJm97q
 m6G8EqExEYyYqbGIj5royav7fb5ZwrUDxMq04/kNgculBcMaiv3AkBh4v
 88tPBd7f37AesAiP4F5zlOVtukAozhfJZiCfEtLHN/p77JAVu4ukAjhM2 g==;
X-IronPort-AV: E=McAfee;i="6200,9189,10245"; a="247832297"
X-IronPort-AV: E=Sophos;i="5.88,336,1635231600"; d="scan'208";a="247832297"
Received: from orsmga008.jf.intel.com ([10.7.209.65])
 by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 02 Feb 2022 01:49:15 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.88,336,1635231600"; d="scan'208";a="538182201"
Received: from silpixa00401215.ir.intel.com ([10.55.128.96])
 by orsmga008.jf.intel.com with ESMTP; 02 Feb 2022 01:49:13 -0800
From: Sean Morrissey <sean.morrissey@intel.com>
To: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Cc: dev@dpdk.org,
	Sean Morrissey <sean.morrissey@intel.com>
Subject: [PATCH v6 40/50] fib: remove unneeded header includes
Date: Wed,  2 Feb 2022 09:47:52 +0000
Message-Id: <20220202094802.3618978-41-sean.morrissey@intel.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20220202094802.3618978-1-sean.morrissey@intel.com>
References: <20220117201943.873922-1-sean.morrissey@intel.com>
 <20220202094802.3618978-1-sean.morrissey@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/fib/dir24_8.c  | 4 ----
 lib/fib/rte_fib.c  | 2 --
 lib/fib/rte_fib.h  | 1 -
 lib/fib/rte_fib6.c | 2 --
 lib/fib/rte_fib6.h | 1 -
 lib/fib/trie.c     | 5 -----
 lib/fib/trie.h     | 2 --
 7 files changed, 17 deletions(-)

diff --git a/lib/fib/dir24_8.c b/lib/fib/dir24_8.c
index bb3bc9753b..a8ba4f64ca 100644
--- a/lib/fib/dir24_8.c
+++ b/lib/fib/dir24_8.c
@@ -4,15 +4,11 @@
  */
 
 #include <stdint.h>
-#include <stdlib.h>
 #include <stdio.h>
-#include <string.h>
-#include <inttypes.h>
 
 #include <rte_debug.h>
 #include <rte_malloc.h>
 #include <rte_errno.h>
-#include <rte_memory.h>
 #include <rte_vect.h>
 
 #include <rte_rib.h>
diff --git a/lib/fib/rte_fib.c b/lib/fib/rte_fib.c
index 0cced97a77..8af4c40919 100644
--- a/lib/fib/rte_fib.c
+++ b/lib/fib/rte_fib.c
@@ -6,11 +6,9 @@
 #include <stdint.h>
 #include <string.h>
 
-#include <rte_eal.h>
 #include <rte_eal_memconfig.h>
 #include <rte_errno.h>
 #include <rte_malloc.h>
-#include <rte_rwlock.h>
 #include <rte_string_fns.h>
 #include <rte_tailq.h>
 
diff --git a/lib/fib/rte_fib.h b/lib/fib/rte_fib.h
index e592d3251a..90f28b7e11 100644
--- a/lib/fib/rte_fib.h
+++ b/lib/fib/rte_fib.h
@@ -17,7 +17,6 @@
 
 #include <stdint.h>
 
-#include <rte_compat.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/lib/fib/rte_fib6.c b/lib/fib/rte_fib6.c
index eebee297d6..4b8e22b142 100644
--- a/lib/fib/rte_fib6.c
+++ b/lib/fib/rte_fib6.c
@@ -6,11 +6,9 @@
 #include <stdint.h>
 #include <string.h>
 
-#include <rte_eal.h>
 #include <rte_eal_memconfig.h>
 #include <rte_tailq.h>
 #include <rte_errno.h>
-#include <rte_rwlock.h>
 #include <rte_malloc.h>
 #include <rte_string_fns.h>
 
diff --git a/lib/fib/rte_fib6.h b/lib/fib/rte_fib6.h
index cb133719e1..62a425d9af 100644
--- a/lib/fib/rte_fib6.h
+++ b/lib/fib/rte_fib6.h
@@ -17,7 +17,6 @@
 
 #include <stdint.h>
 
-#include <rte_compat.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/lib/fib/trie.c b/lib/fib/trie.c
index 044095bf03..3e780afdaf 100644
--- a/lib/fib/trie.c
+++ b/lib/fib/trie.c
@@ -4,16 +4,11 @@
  */
 
 #include <stdint.h>
-#include <stdlib.h>
 #include <stdio.h>
-#include <string.h>
-#include <inttypes.h>
 
 #include <rte_debug.h>
 #include <rte_malloc.h>
 #include <rte_errno.h>
-#include <rte_memory.h>
-#include <rte_vect.h>
 
 #include <rte_rib6.h>
 #include <rte_fib6.h>
diff --git a/lib/fib/trie.h b/lib/fib/trie.h
index 9fd15ae79f..3cf161ae25 100644
--- a/lib/fib/trie.h
+++ b/lib/fib/trie.h
@@ -10,8 +10,6 @@
  * @file
  * RTE IPv6 Longest Prefix Match (LPM)
  */
-#include <rte_prefetch.h>
-#include <rte_branch_prediction.h>
 
 /* @internal Total number of tbl24 entries. */
 #define TRIE_TBL24_NUM_ENT	(1 << 24)
-- 
2.25.1