From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CAFACA2EDB for ; Tue, 1 Oct 2019 15:04:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DCC0F1BE89; Tue, 1 Oct 2019 15:04:33 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 3433B1BEA8; Tue, 1 Oct 2019 15:04:33 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7EB7136961; Tue, 1 Oct 2019 13:04:32 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.118.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id BD98D5C223; Tue, 1 Oct 2019 13:04:30 +0000 (UTC) From: Kevin Traynor To: dev@dpdk.org Cc: Kevin Traynor , rosen.xu@intel.com, stable@dpdk.org Date: Tue, 1 Oct 2019 14:04:02 +0100 Message-Id: <20191001130405.7076-5-ktraynor@redhat.com> In-Reply-To: <20191001130405.7076-1-ktraynor@redhat.com> References: <20191001125315.6191-1-ktraynor@redhat.com> <20191001130405.7076-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 01 Oct 2019 13:04:32 +0000 (UTC) Subject: [dpdk-stable] [PATCH 6/9] net/ipn3ke: remove commented out code X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" These struct members and variable were commented out. Remove them. Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") Fixes: c820468ac99c ("net/ipn3ke: support TM") Cc: rosen.xu@intel.com Cc: stable@dpdk.org Signed-off-by: Kevin Traynor --- drivers/net/ipn3ke/ipn3ke_ethdev.h | 7 ------- drivers/net/ipn3ke/ipn3ke_tm.c | 1 - 2 files changed, 8 deletions(-) diff --git a/drivers/net/ipn3ke/ipn3ke_ethdev.h b/drivers/net/ipn3ke/ipn3ke_ethdev.h index c7b336bbd..0d71dcd64 100644 --- a/drivers/net/ipn3ke/ipn3ke_ethdev.h +++ b/drivers/net/ipn3ke/ipn3ke_ethdev.h @@ -97,18 +97,11 @@ struct ipn3ke_tm_node { struct ipn3ke_tm_hierarchy { struct ipn3ke_tm_node *port_node; - /*struct ipn3ke_tm_node_list vt_node_list;*/ - /*struct ipn3ke_tm_node_list cos_node_list;*/ - uint32_t n_shaper_profiles; - /*uint32_t n_shared_shapers;*/ uint32_t n_tdrop_profiles; uint32_t n_vt_nodes; uint32_t n_cos_nodes; - struct ipn3ke_tm_node *port_commit_node; struct ipn3ke_tm_node_list vt_commit_node_list; struct ipn3ke_tm_node_list cos_commit_node_list; - - /*uint32_t n_tm_nodes[IPN3KE_TM_NODE_LEVEL_MAX];*/ }; diff --git a/drivers/net/ipn3ke/ipn3ke_tm.c b/drivers/net/ipn3ke/ipn3ke_tm.c index a93145d59..5a16c5f96 100644 --- a/drivers/net/ipn3ke/ipn3ke_tm.c +++ b/drivers/net/ipn3ke/ipn3ke_tm.c @@ -1088,5 +1088,4 @@ ipn3ke_tm_node_add_check_mount(uint32_t tm_id, struct rte_tm_error *error) { - /*struct ipn3ke_tm_internals *tm = IPN3KE_DEV_PRIVATE_TO_TM(dev);*/ uint32_t node_index; uint32_t parent_index; -- 2.21.0