From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81CAAA0524; Fri, 5 Feb 2021 20:08:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0956640682; Fri, 5 Feb 2021 20:08:38 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 15C6A4067B for ; Fri, 5 Feb 2021 20:08: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 1F668ED1; Fri, 5 Feb 2021 11:08: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 16C7A3F718; Fri, 5 Feb 2021 11:08:35 -0800 (PST) From: Kathleen Capella To: Wenzhuo Lu , Beilei Xing , Bernard Iremonger Cc: honnappa.nagarahalli@arm.com, kathleen.capella@arm.com, dev@dpdk.org, nd@arm.com Date: Fri, 5 Feb 2021 19:08:23 +0000 Message-Id: <20210205190823.7765-1-kathleen.capella@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] testpmd: remove unused member from lcore structure 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 --- 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 */ }; -- 2.17.1