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 3D9E7A034E;
	Mon, 14 Feb 2022 15:48:53 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id DE14D4271B;
	Mon, 14 Feb 2022 15:46:23 +0100 (CET)
Received: from mga01.intel.com (mga01.intel.com [192.55.52.88])
 by mails.dpdk.org (Postfix) with ESMTP id 9441D426DF
 for <dev@dpdk.org>; Mon, 14 Feb 2022 15:46:08 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1644849968; x=1676385968;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=pGdplYfecC+JqqjMimlHuyEnHK2NopXUrT877UPIQLQ=;
 b=Mnw1S1unBPYSy2p66u1rvo9LFWYb+nlhK+OZPjjG01G37tYbxdd0c+0w
 KS3mnK8NbKChf5XnzA9QOvTvkQnx1E4pMIKGajfxcdNPA41pi4sH1VVdC
 f1X8E209Moo5a4oXrs8IQwn7hgwmV5Lju/Uqol0Hi5ehr/pbD5icr8W47
 /0pODKM1DUK3b82+pzSPj4c8ZfEQOWlYCc0GMFFufL+MwPMUq0kxcyVfu
 bSoW7vTC8TCvEJl/cXgrIVl2t8+R1pOuiY9qAJfNTpgVKpxpzNjfZjXTG
 lWvrwDH35bCyghb2p75zPfeyVPHtcJDE/+hWCFCNVF68b3Xb7ReQmPcu0 Q==;
X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="274673504"
X-IronPort-AV: E=Sophos;i="5.88,368,1635231600"; d="scan'208";a="274673504"
Received: from orsmga003.jf.intel.com ([10.7.209.27])
 by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 14 Feb 2022 06:46:07 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.88,368,1635231600"; d="scan'208";a="485505290"
Received: from silpixa00401215.ir.intel.com ([10.55.128.96])
 by orsmga003.jf.intel.com with ESMTP; 14 Feb 2022 06:46:06 -0800
From: Sean Morrissey <sean.morrissey@intel.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: dev@dpdk.org,
	Sean Morrissey <sean.morrissey@intel.com>
Subject: [PATCH v8 31/50] kni: remove unneeded header includes
Date: Mon, 14 Feb 2022 14:43:47 +0000
Message-Id: <20220214144406.4192233-32-sean.morrissey@intel.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20220214144406.4192233-1-sean.morrissey@intel.com>
References: <20220214113632.3184921-1-sean.morrissey@intel.com>
 <20220214144406.4192233-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/kni/rte_kni.c | 2 --
 lib/kni/rte_kni.h | 2 --
 2 files changed, 4 deletions(-)

diff --git a/lib/kni/rte_kni.c b/lib/kni/rte_kni.c
index fc8f0e7b5a..7971c56bb4 100644
--- a/lib/kni/rte_kni.c
+++ b/lib/kni/rte_kni.c
@@ -12,7 +12,6 @@
 #include <sys/ioctl.h>
 #include <linux/version.h>
 
-#include <rte_spinlock.h>
 #include <rte_string_fns.h>
 #include <rte_ethdev.h>
 #include <rte_malloc.h>
@@ -20,7 +19,6 @@
 #include <rte_kni.h>
 #include <rte_memzone.h>
 #include <rte_tailq.h>
-#include <rte_rwlock.h>
 #include <rte_eal_memconfig.h>
 #include <rte_kni_common.h>
 #include "rte_kni_fifo.h"
diff --git a/lib/kni/rte_kni.h b/lib/kni/rte_kni.h
index b0eaf46104..b85d3dd32b 100644
--- a/lib/kni/rte_kni.h
+++ b/lib/kni/rte_kni.h
@@ -18,8 +18,6 @@
  */
 
 #include <rte_pci.h>
-#include <rte_memory.h>
-#include <rte_mempool.h>
 #include <rte_ether.h>
 
 #include <rte_kni_common.h>
-- 
2.25.1