From patchwork Mon Aug 23 03:20:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joyce Kong X-Patchwork-Id: 97181 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 1B101A0C54; Mon, 23 Aug 2021 05:21:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A6CD40143; Mon, 23 Aug 2021 05:21:00 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 025314003E for ; Mon, 23 Aug 2021 05:20:58 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6771A101E; Sun, 22 Aug 2021 20:20:58 -0700 (PDT) Received: from net-arm-n1sdp.shanghai.arm.com (net-arm-n1sdp.shanghai.arm.com [10.169.208.222]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C84833F5A1; Sun, 22 Aug 2021 20:20:56 -0700 (PDT) From: Joyce Kong To: Olivier Matz Cc: ruifeng.wang@arm.com, dev@dpdk.org, nd@arm.com Date: Sun, 22 Aug 2021 22:20:34 -0500 Message-Id: <20210823032034.12688-1-joyce.kong@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v1] stack: remove duplicated include of atomic 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 Sender: "dev" In stack module, remove the duplicated header file rte_atomic.h as it has been included in rte_spinlock.h/rte_pause.h Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang --- app/test/test_stack.c | 1 - lib/stack/rte_stack.c | 1 - lib/stack/rte_stack.h | 1 - 3 files changed, 3 deletions(-) diff --git a/app/test/test_stack.c b/app/test/test_stack.c index 00efb38e2a..bc38961433 100644 --- a/app/test/test_stack.c +++ b/app/test/test_stack.c @@ -4,7 +4,6 @@ #include -#include #include #include #include diff --git a/lib/stack/rte_stack.c b/lib/stack/rte_stack.c index f1cbb9803f..d3bfc57955 100644 --- a/lib/stack/rte_stack.c +++ b/lib/stack/rte_stack.c @@ -5,7 +5,6 @@ #include #include -#include #include #include #include diff --git a/lib/stack/rte_stack.h b/lib/stack/rte_stack.h index 27640f87b2..321f4cec1a 100644 --- a/lib/stack/rte_stack.h +++ b/lib/stack/rte_stack.h @@ -19,7 +19,6 @@ extern "C" { #endif -#include #include #include #include