Message ID | 20220114162409.334437-34-sean.morrissey@intel.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Thomas Monjalon |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 220C7A00C3; Fri, 14 Jan 2022 17:30:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 42A0A4281D; Fri, 14 Jan 2022 17:27:42 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 5058F42818 for <dev@dpdk.org>; Fri, 14 Jan 2022 17:27:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642177660; x=1673713660; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pGdplYfecC+JqqjMimlHuyEnHK2NopXUrT877UPIQLQ=; b=T6Xf4h/HuJ3FlVj+VHrmLC6ty5Bwava2Z9yzvr8RErjg0jUK55tLlI2O AAJgX8FY2pqBxffMVmAIFKjSkvoYslIhhFzHxmc1PNKJOoK54ZgyOpS+n WipJuHZBcOMPT3tgaZy5zyuMtGnANwIiDq3eeUAEdZ8iMePjEN4FPEynN aJEC5BFsSEvD3e1SJS+fWgH7KaRacH8GfawSxqlOUia/m6XqG1Re8EMTh ABqiu+7FIB6wdxDh8mJdPi9fSQECBllvYSfxDEIiWJb/5ZXDNJPD+a/EZ ZZOAwuPGtpqfHY39hf78n+IB13piMh1tUdFimz57doT46UeXDlAFL3hpz w==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="241838854" X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="241838854" 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:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="559523642" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga001.jf.intel.com with ESMTP; 14 Jan 2022 08:27:38 -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 v4 33/53] kni: remove unneeded header includes Date: Fri, 14 Jan 2022 16:23:49 +0000 Message-Id: <20220114162409.334437-34-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 |
Series |
introduce IWYU
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Sean Morrissey
Jan. 14, 2022, 4:23 p.m. UTC
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>