Message ID | 20220114162409.334437-24-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 31F32A00C3; Fri, 14 Jan 2022 17:29:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 084B8427E1; Fri, 14 Jan 2022 17:27:27 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id F3B58427EE for <dev@dpdk.org>; Fri, 14 Jan 2022 17:27:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642177646; x=1673713646; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=550ljhVlbQblPCB5CYHexqerWPnSDdajSYhG1wHQrxo=; b=At3Q47hfYEWqUkfWvPds5kUeh7FZEXDNA7xqcrvaVt2D4CQoGrOBAmjl s2pVUSU1G21fcsdBAko7dQ3dTMI592Q5mf0r5aAHf5BJMnZO8ZPT1CbgG ZzDqpKaI2g0Z/+3M3MgXyoUyN6r31Vr9ZYfD8voXYsTYmcWS7dVoJkc/u KKJUEXX7RDl4vgBvX6Tr2OST05sphY8OPLQ99WmpkSQNWA4ZDGxo3UcfI 6linIvWsCOVjqWrh/X4c/R02FPRTfoXfpm9MxaIGvsFZglcwcl+Xv3bii PCZHOpAaj+hlpXOx+oD1TVPGsEV1LtPyARby++QrcpLdMRkUfvFY+4Nfv Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="268642715" X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="268642715" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2022 08:27:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="559523562" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga001.jf.intel.com with ESMTP; 14 Jan 2022 08:27:24 -0800 From: Sean Morrissey <sean.morrissey@intel.com> To: Reshma Pattan <reshma.pattan@intel.com>, Stephen Hemminger <stephen@networkplumber.org> Cc: dev@dpdk.org, Sean Morrissey <sean.morrissey@intel.com> Subject: [PATCH v4 23/53] pcapng: remove unneeded header includes Date: Fri, 14 Jan 2022 16:23:39 +0000 Message-Id: <20220114162409.334437-24-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/pcapng/rte_pcapng.c | 1 -
lib/pcapng/rte_pcapng.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/lib/pcapng/rte_pcapng.c b/lib/pcapng/rte_pcapng.c index 03edabe73e..5ae96a5bc9 100644 --- a/lib/pcapng/rte_pcapng.c +++ b/lib/pcapng/rte_pcapng.c @@ -8,7 +8,6 @@ #include <stdlib.h> #include <string.h> #include <sys/uio.h> -#include <sys/utsname.h> #include <time.h> #include <unistd.h> diff --git a/lib/pcapng/rte_pcapng.h b/lib/pcapng/rte_pcapng.h index 8d3fbb1941..7d2697c647 100644 --- a/lib/pcapng/rte_pcapng.h +++ b/lib/pcapng/rte_pcapng.h @@ -26,9 +26,7 @@ #include <stdint.h> #include <sys/types.h> #include <rte_compat.h> -#include <rte_common.h> #include <rte_mempool.h> -#include <rte_ring.h> #ifdef __cplusplus extern "C" {