From patchwork Tue Feb 9 15:40:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathleen Capella X-Patchwork-Id: 87832 X-Patchwork-Delegate: ferruh.yigit@amd.com 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 35A6AA0549; Tue, 9 Feb 2021 16:40:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7E1B160713; Tue, 9 Feb 2021 16:40:37 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 5FDCE4014E for ; Tue, 9 Feb 2021 16:40:36 +0100 (CET) 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 9FD24101E; Tue, 9 Feb 2021 07:40:35 -0800 (PST) Received: from n1sdp-2.usa.Arm.com (n1sdp-2.usa.arm.com [10.118.91.151]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 96F873F73D; Tue, 9 Feb 2021 07:40:35 -0800 (PST) From: Kathleen Capella To: Wenzhuo Lu , Xiaoyun Li , Bernard Iremonger Cc: honnappa.nagarahalli@arm.com, kathleen.capella@arm.com, thomas@monjalon.net, nd@arm.com, dev@dpdk.org Date: Tue, 9 Feb 2021 15:40:26 +0000 Message-Id: <20210209154026.30984-1-kathleen.capella@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v2] app/testpmd: remove unused struct member 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" The tx_queue member of the fwd_lcore struct is unused as it is already part of the fwd_stream structure. Deleting helps improve code readability. Signed-off-by: Kathleen Capella Reviewed-by: Honnappa Nagarahalli Acked-by: Thomas Monjalon --- app/test-pmd/testpmd.h | 1 - 1 file changed, 1 deletion(-) diff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h index 5f2316210..f805f1b4d 100644 --- a/app/test-pmd/testpmd.h +++ b/app/test-pmd/testpmd.h @@ -247,7 +247,6 @@ struct fwd_lcore { streamid_t stream_idx; /**< index of 1st stream in "fwd_streams" */ streamid_t stream_nb; /**< number of streams in "fwd_streams" */ lcoreid_t cpuid_idx; /**< index of logical core in CPU id table */ - queueid_t tx_queue; /**< TX queue to send forwarded packets */ volatile char stopped; /**< stop forwarding when set */ };