From patchwork Fri Jan 14 16:23:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Morrissey X-Patchwork-Id: 105821 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 4F961A00C3; Fri, 14 Jan 2022 17:27:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FCC24279E; Fri, 14 Jan 2022 17:27:07 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 5CDEA42785 for ; Fri, 14 Jan 2022 17:27:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642177623; x=1673713623; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=o5Qm3oGhSa7vNYekurX802+l2TX+Qi3WK7ec+7e8R4w=; b=F/7nXfESNuoppzjzRCmNEMTL6nGlMLk9CJIYAbrK9Z5JYYOqo14DcQds /AVw8DJ3Xxl2/PHQ0v4sDQTOs2WriFV6pB7+0KRHZ9Mf1B1zj8ORwo16W JLxG0rn4TaBREGFNUnmbwi1JOToZuqDQZXeZwa26eDu4sTr2n/Ffmt7qV OR50Cggb+vijR+1LF5HUjws18urlZmeEZ/ncekU6RRty9T7DVBo1hQ0/y wseHsx0SRnEI7KUwax2mHT30EU32FdE7i/gdTSGTUl1nN00TQMDr+NHWY BNeFMvVDKvUH/tVbr5TXrabTBviVK9BoKKV/DY9gKRWHjC98sYh2NWy5s A==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="268642578" X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="268642578" 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:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="559523414" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga001.jf.intel.com with ESMTP; 14 Jan 2022 08:27:01 -0800 From: Sean Morrissey To: Maxime Coquelin , Chenbo Xia Cc: dev@dpdk.org, Sean Morrissey Subject: [PATCH v4 06/53] vhost: remove unneeded header includes Date: Fri, 14 Jan 2022 16:23:22 +0000 Message-Id: <20220114162409.334437-7-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/vhost/fd_man.c | 6 ------ lib/vhost/fd_man.h | 1 - lib/vhost/socket.c | 1 - lib/vhost/vdpa.c | 1 - lib/vhost/vhost.c | 4 ---- lib/vhost/vhost.h | 6 ------ lib/vhost/vhost_user.c | 2 -- lib/vhost/vhost_user.h | 1 - 8 files changed, 22 deletions(-) diff --git a/lib/vhost/fd_man.c b/lib/vhost/fd_man.c index 55d4856f9e..1876fada33 100644 --- a/lib/vhost/fd_man.c +++ b/lib/vhost/fd_man.c @@ -2,14 +2,8 @@ * Copyright(c) 2010-2014 Intel Corporation */ -#include #include -#include -#include -#include -#include #include -#include #include #include diff --git a/lib/vhost/fd_man.h b/lib/vhost/fd_man.h index 3ab5cfdd60..6f4499bdfa 100644 --- a/lib/vhost/fd_man.h +++ b/lib/vhost/fd_man.h @@ -4,7 +4,6 @@ #ifndef _FD_MAN_H_ #define _FD_MAN_H_ -#include #include #include diff --git a/lib/vhost/socket.c b/lib/vhost/socket.c index 82963c1e6d..c22d84a2cb 100644 --- a/lib/vhost/socket.c +++ b/lib/vhost/socket.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include diff --git a/lib/vhost/vdpa.c b/lib/vhost/vdpa.c index 09ad5d866e..7c57b3f75b 100644 --- a/lib/vhost/vdpa.c +++ b/lib/vhost/vdpa.c @@ -8,7 +8,6 @@ * Device specific vhost lib */ -#include #include #include diff --git a/lib/vhost/vhost.c b/lib/vhost/vhost.c index 13a9bb9dd1..40703b882f 100644 --- a/lib/vhost/vhost.c +++ b/lib/vhost/vhost.c @@ -4,7 +4,6 @@ #include #include -#include #include #include #ifdef RTE_LIBRTE_VHOST_NUMA @@ -13,13 +12,10 @@ #endif #include -#include #include -#include #include #include #include -#include #include "iotlb.h" #include "vhost.h" diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h index 7085e0885c..9f9cf65f76 100644 --- a/lib/vhost/vhost.h +++ b/lib/vhost/vhost.h @@ -5,23 +5,17 @@ #ifndef _VHOST_NET_CDEV_H_ #define _VHOST_NET_CDEV_H_ #include -#include #include -#include #include #include -#include #include -#include #include #include #include -#include #include #include "rte_vhost.h" -#include "rte_vdpa.h" #include "vdpa_driver.h" #include "rte_vhost_async.h" diff --git a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c index 5eb1dd6812..f8c216c453 100644 --- a/lib/vhost/vhost_user.c +++ b/lib/vhost/vhost_user.c @@ -27,10 +27,8 @@ #include #include #include -#include #include #include -#include #ifdef RTE_LIBRTE_VHOST_NUMA #include #endif diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h index 16fe03f889..7d6d6ae125 100644 --- a/lib/vhost/vhost_user.h +++ b/lib/vhost/vhost_user.h @@ -6,7 +6,6 @@ #define _VHOST_NET_USER_H #include -#include #include "rte_vhost.h"