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 438F6A00C3;
	Mon, 17 Jan 2022 21:24:46 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id B13F942845;
	Mon, 17 Jan 2022 21:21:45 +0100 (CET)
Received: from mga05.intel.com (mga05.intel.com [192.55.52.43])
 by mails.dpdk.org (Postfix) with ESMTP id B13ED4283F
 for <dev@dpdk.org>; Mon, 17 Jan 2022 21:21:43 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1642450903; x=1673986903;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=6lIxArtOeut3kztuAWYmtZS6EoqMYQFy6kUtFo3x0rQ=;
 b=D/5/wSXl0pBLPsYhQFIee+1iI8Wla+qIUF3SGSrjEMMgY6ZPo44pUj8u
 GqCQjs2/eAovl3N5eFMHSuu63IhvVqS291jf9FBoDIyOA6MwFmgE5yxid
 E36LHvTnE7PWgapyRqn2zxLqLXVXjRTbqRnVWiZ8T0ROVZ3JHuMiqWJHS
 bEqoyUQKvaCKY83r+pI2pRJ88UTY3PfOem+zp0yaA8BJVZ4z2rgGGzN1m
 hSaKCQQ6a8RU8FzPXxz3d57DPMxIGj+aGhapX7Y80q/TkcY9V8P6c6kE4
 t5R/YOHlfpqRJxv1Wd+VaxxYwkgdZxNmP7FF3eAjmLcgbtGwH9Ox5IO7G A==;
X-IronPort-AV: E=McAfee;i="6200,9189,10230"; a="331038193"
X-IronPort-AV: E=Sophos;i="5.88,296,1635231600"; d="scan'208";a="331038193"
Received: from orsmga007.jf.intel.com ([10.7.209.58])
 by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 17 Jan 2022 12:21:43 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.88,296,1635231600"; d="scan'208";a="517521098"
Received: from silpixa00401215.ir.intel.com ([10.55.128.96])
 by orsmga007.jf.intel.com with ESMTP; 17 Jan 2022 12:21:41 -0800
From: Sean Morrissey <sean.morrissey@intel.com>
To: Akhil Goyal <gakhil@marvell.com>, Declan Doherty <declan.doherty@intel.com>
Cc: dev@dpdk.org,
	Sean Morrissey <sean.morrissey@intel.com>
Subject: [PATCH v5 49/50] cryptodev: remove unneeded header includes
Date: Mon, 17 Jan 2022 20:19:42 +0000
Message-Id: <20220117201943.873922-50-sean.morrissey@intel.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20220117201943.873922-1-sean.morrissey@intel.com>
References: <20220114162409.334437-1-sean.morrissey@intel.com>
 <20220117201943.873922-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/cryptodev/cryptodev_pmd.h |  4 ----
 lib/cryptodev/rte_cryptodev.c | 11 -----------
 lib/cryptodev/rte_cryptodev.h |  2 --
 3 files changed, 17 deletions(-)

diff --git a/lib/cryptodev/cryptodev_pmd.h b/lib/cryptodev/cryptodev_pmd.h
index b9146f652c..8cf2da9b69 100644
--- a/lib/cryptodev/cryptodev_pmd.h
+++ b/lib/cryptodev/cryptodev_pmd.h
@@ -15,11 +15,7 @@
 
 #include <string.h>
 
-#include <rte_config.h>
-#include <rte_dev.h>
 #include <rte_malloc.h>
-#include <rte_mbuf.h>
-#include <rte_mempool.h>
 #include <rte_log.h>
 #include <rte_common.h>
 
diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c
index a40536c5ea..8c1cccef0b 100644
--- a/lib/cryptodev/rte_cryptodev.c
+++ b/lib/cryptodev/rte_cryptodev.c
@@ -2,36 +2,25 @@
  * Copyright(c) 2015-2020 Intel Corporation
  */
 
-#include <sys/types.h>
 #include <sys/queue.h>
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <stdarg.h>
 #include <errno.h>
 #include <stdint.h>
 #include <inttypes.h>
 
-#include <rte_byteorder.h>
 #include <rte_log.h>
 #include <rte_debug.h>
 #include <rte_dev.h>
-#include <rte_interrupts.h>
 #include <rte_memory.h>
 #include <rte_memcpy.h>
 #include <rte_memzone.h>
-#include <rte_launch.h>
-#include <rte_tailq.h>
 #include <rte_eal.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
-#include <rte_atomic.h>
-#include <rte_branch_prediction.h>
 #include <rte_common.h>
 #include <rte_mempool.h>
 #include <rte_malloc.h>
-#include <rte_mbuf.h>
 #include <rte_errno.h>
 #include <rte_spinlock.h>
 #include <rte_string_fns.h>
diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h
index 59ea5a54df..3493384fc7 100644
--- a/lib/cryptodev/rte_cryptodev.h
+++ b/lib/cryptodev/rte_cryptodev.h
@@ -20,9 +20,7 @@ extern "C" {
 
 #include "rte_kvargs.h"
 #include "rte_crypto.h"
-#include "rte_dev.h"
 #include <rte_common.h>
-#include <rte_config.h>
 #include <rte_rcu_qsbr.h>
 
 #include "rte_cryptodev_trace_fp.h"
-- 
2.25.1