From patchwork Fri Jan 14 16:23:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 105845 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 7CACBA00C3; Fri, 14 Jan 2022 17:29:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 40A6342810; Fri, 14 Jan 2022 17:27:39 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id DB2AC427FC for ; Fri, 14 Jan 2022 17:27:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642177656; x=1673713656; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZU/fWrSJ9Sly2GpqY+l+YVjU2sUVtRoeqVwHXFKvJlU=; b=ISAJiV28P5DwJNBkajJP63nLaBDEE41rhnKmcP2b+BMo6TaZyt+n/Ar2 x6pMTn9/h3HWgwrGBs6FmDt4rBv/6s/GPvDC3aG3i5axqMwOFkOx7+571 V0e5LH1pawOp7aGSeD+x70qg/2YBjvp9FO+gubc7T+MM+QA7tlt3X51rR LVehQa/cdnI7n00bwDsnn0ExbYCUTvX5HlPphNWtihgq1NOjIB2IyWgVc c/WqcwqqlcsaWkzwbhTHM1pR0r9nxvgyYmSIpCSnPEMs2nryagQlh/tLz Nhna6hEbTDRdFUxb7zMoG6cwyAJovNGgCksujEPfpZJ56zjytYIW8tb8P A==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="241838841" X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="241838841" 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:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="559523618" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga001.jf.intel.com with ESMTP; 14 Jan 2022 08:27:34 -0800 From: Sean Morrissey To: Bruce Richardson , Vladimir Medvedkin Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v4 30/53] lpm: remove unneeded header includes Date: Fri, 14 Jan 2022 16:23:46 +0000 Message-Id: <20220114162409.334437-31-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/lpm/rte_lpm.c | 7 ------- lib/lpm/rte_lpm.h | 4 ---- lib/lpm/rte_lpm6.c | 7 ------- lib/lpm/rte_lpm6.h | 1 - 4 files changed, 19 deletions(-) diff --git a/lib/lpm/rte_lpm.c b/lib/lpm/rte_lpm.c index 002811f4de..cdcd1b7f9e 100644 --- a/lib/lpm/rte_lpm.c +++ b/lib/lpm/rte_lpm.c @@ -6,22 +6,15 @@ #include #include #include -#include #include #include #include -#include #include -#include /* for definition of RTE_CACHE_LINE_SIZE */ #include -#include #include -#include #include #include -#include -#include #include #include "rte_lpm.h" diff --git a/lib/lpm/rte_lpm.h b/lib/lpm/rte_lpm.h index 5eb14c1748..eb91960e81 100644 --- a/lib/lpm/rte_lpm.h +++ b/lib/lpm/rte_lpm.h @@ -12,13 +12,9 @@ */ #include -#include #include -#include #include #include -#include -#include #include #include #include diff --git a/lib/lpm/rte_lpm6.c b/lib/lpm/rte_lpm6.c index 73768fc956..8d21aeddb8 100644 --- a/lib/lpm/rte_lpm6.c +++ b/lib/lpm/rte_lpm6.c @@ -4,23 +4,16 @@ #include #include #include -#include #include #include #include -#include #include -#include #include #include -#include #include -#include #include #include -#include -#include #include #include #include diff --git a/lib/lpm/rte_lpm6.h b/lib/lpm/rte_lpm6.h index f96f3372e5..9b07260d5a 100644 --- a/lib/lpm/rte_lpm6.h +++ b/lib/lpm/rte_lpm6.h @@ -10,7 +10,6 @@ */ #include -#include #ifdef __cplusplus extern "C" {