From patchwork Fri Jan 14 16:23:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 105840 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: 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 AE086A00C3; Fri, 14 Jan 2022 17:29:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 052B8427F6; Fri, 14 Jan 2022 17:27:33 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 6A481427F6 for ; Fri, 14 Jan 2022 17:27:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642177650; x=1673713650; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vHlQ64uz3Dgb1mKLToNRi7Pf8WCv4Cnh+ovSEE/ksgo=; b=SWD+8PXe/QUZq8mlZ/KFjR8AbPBJON04hVxfs8yqfXbvLKd1b/ZixqEZ 9cxN4EFCR094iIIu0KMRVO5SIGIP/9r4FxYMWp7/76YG+QbLEAxvLwZw5 ychRUVxZzuOSHJK3yEFQWFhcaHhG6bV0sHfJtXKSsK+QvmPQbddxg4Rgy VSNactYS5hcgTXRoSizgrLUe/eS9jAalV/1Yy2F6/YoeCGsVxaUR4jikY OPWzWM6Q3WMdqZi3depfr2qV3PxA3Mh29D2eCtyY+YVi6TujsETYtc1Ab PfW6H7YFBQeyMosm+xFLuyKlWN6Vgf73a13kY9WqKhPvPVcaAWZ5eymUO g==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="268642730" X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="268642730" 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:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="559523580" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga001.jf.intel.com with ESMTP; 14 Jan 2022 08:27:27 -0800 From: Sean Morrissey To: Jasvinder Singh , Bruce Richardson , Konstantin Ananyev , Olivier Matz Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v4 25/53] net: remove unneeded header includes Date: Fri, 14 Jan 2022 16:23:41 +0000 Message-Id: <20220114162409.334437-26-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 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/net/net_crc_avx512.c | 3 --- lib/net/net_crc_sse.c | 1 - lib/net/rte_arp.c | 1 - lib/net/rte_ether.h | 1 - lib/net/rte_net.h | 1 - lib/net/rte_net_crc.c | 2 -- 6 files changed, 9 deletions(-) diff --git a/lib/net/net_crc_avx512.c b/lib/net/net_crc_avx512.c index 3740fe3c9d..f6a3ce9bcd 100644 --- a/lib/net/net_crc_avx512.c +++ b/lib/net/net_crc_avx512.c @@ -2,11 +2,8 @@ * Copyright(c) 2020 Intel Corporation */ -#include #include -#include -#include #include "net_crc.h" diff --git a/lib/net/net_crc_sse.c b/lib/net/net_crc_sse.c index 053b54b390..dd75845636 100644 --- a/lib/net/net_crc_sse.c +++ b/lib/net/net_crc_sse.c @@ -6,7 +6,6 @@ #include #include -#include #include "net_crc.h" diff --git a/lib/net/rte_arp.c b/lib/net/rte_arp.c index 9f7eb6b375..22af519586 100644 --- a/lib/net/rte_arp.c +++ b/lib/net/rte_arp.c @@ -3,7 +3,6 @@ */ #include -#include #define RARP_PKT_SIZE 64 struct rte_mbuf * diff --git a/lib/net/rte_ether.h b/lib/net/rte_ether.h index 3d9852d9e2..bf8a55ba06 100644 --- a/lib/net/rte_ether.h +++ b/lib/net/rte_ether.h @@ -18,7 +18,6 @@ extern "C" { #include #include -#include #include #include #include diff --git a/lib/net/rte_net.h b/lib/net/rte_net.h index 53a7f4d360..56611fc8f9 100644 --- a/lib/net/rte_net.h +++ b/lib/net/rte_net.h @@ -12,7 +12,6 @@ extern "C" { #include #include #include -#include /** * Structure containing header lengths associated to a packet, filled diff --git a/lib/net/rte_net_crc.c b/lib/net/rte_net_crc.c index d9a526ab7b..a685f9e7bb 100644 --- a/lib/net/rte_net_crc.c +++ b/lib/net/rte_net_crc.c @@ -3,13 +3,11 @@ */ #include -#include #include #include #include #include -#include #include #include