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 6E465A00C3;
	Fri, 14 Jan 2022 17:29:33 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 00419427FE;
	Fri, 14 Jan 2022 17:27:35 +0100 (CET)
Received: from mga11.intel.com (mga11.intel.com [192.55.52.93])
 by mails.dpdk.org (Postfix) with ESMTP id 7B088427EC
 for <dev@dpdk.org>; Fri, 14 Jan 2022 17:27:32 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1642177652; x=1673713652;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=5nYrCTy+lMMYB4vECTlaMQnwvxIeENPvuBLz5MGZejQ=;
 b=Rzq3xCK91BwfmFppuXk7eCgfHXq6d0TGuEwAD4XhAwUQPvGhrqCKriBE
 NJVHiO9h5cd6Hcds7EuMFoCUGXroGqhSXBj6wo7Qdu1grGWr/0prAH6nE
 Llwib/FxFEy1UOu594yatRJA9WKc+H0g8uy2o8SWlI1SjeBDKRYzES/nT
 rvMZ0PY+O9aIuZfryW8YQz6+biiznw8i05GHpOzJSFx4eCqAl+Lrnz/Ik
 XMdr8B3EZOoHM3qHUTChHCs89n7H8W09DzuTpWJfIzb0PKYpui1QvwmOy
 pQ4Mu+1SF0INDaviJQtx9/l8RmNpqiySTW0AjJrnIgNwetnRd8nP2QLJp A==;
X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="241838825"
X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="241838825"
Received: from orsmga001.jf.intel.com ([10.7.209.18])
 by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 14 Jan 2022 08:27:31 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="559523598"
Received: from silpixa00401215.ir.intel.com ([10.55.128.96])
 by orsmga001.jf.intel.com with ESMTP; 14 Jan 2022 08:27:30 -0800
From: Sean Morrissey <sean.morrissey@intel.com>
To: Olivier Matz <olivier.matz@6wind.com>,
 Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Cc: dev@dpdk.org,
	Sean Morrissey <sean.morrissey@intel.com>
Subject: [PATCH v4 27/53] mempool: remove unneeded header includes
Date: Fri, 14 Jan 2022 16:23:43 +0000
Message-Id: <20220114162409.334437-28-sean.morrissey@intel.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20220114162409.334437-1-sean.morrissey@intel.com>
References: <20211007102557.188739-1-sean.morrissey@intel.com>
 <20220114162409.334437-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/mempool/rte_mempool.c | 7 -------
 lib/mempool/rte_mempool.h | 4 ----
 2 files changed, 11 deletions(-)

diff --git a/lib/mempool/rte_mempool.c b/lib/mempool/rte_mempool.c
index c5a699b1d6..de59009baf 100644
--- a/lib/mempool/rte_mempool.c
+++ b/lib/mempool/rte_mempool.c
@@ -7,7 +7,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdint.h>
-#include <stdarg.h>
 #include <unistd.h>
 #include <inttypes.h>
 #include <errno.h>
@@ -19,16 +18,10 @@
 #include <rte_memory.h>
 #include <rte_memzone.h>
 #include <rte_malloc.h>
-#include <rte_atomic.h>
-#include <rte_launch.h>
 #include <rte_eal.h>
 #include <rte_eal_memconfig.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
-#include <rte_branch_prediction.h>
 #include <rte_errno.h>
 #include <rte_string_fns.h>
-#include <rte_spinlock.h>
 #include <rte_tailq.h>
 #include <rte_eal_paging.h>
 #include <rte_telemetry.h>
diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h
index 1e7a3c1527..5f9f9ead9b 100644
--- a/lib/mempool/rte_mempool.h
+++ b/lib/mempool/rte_mempool.h
@@ -34,17 +34,13 @@
  */
 
 #include <stdio.h>
-#include <stdlib.h>
 #include <stdint.h>
-#include <errno.h>
 #include <inttypes.h>
 
 #include <rte_config.h>
 #include <rte_spinlock.h>
-#include <rte_log.h>
 #include <rte_debug.h>
 #include <rte_lcore.h>
-#include <rte_memory.h>
 #include <rte_branch_prediction.h>
 #include <rte_ring.h>
 #include <rte_memcpy.h>
-- 
2.25.1